No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
This program takes a number from the user and then using loop, modulo and division operator split the number into digits. as: import java.util.Scanner; class Split_num { public static void main ( String [] args) { Scanner a = new Scanner (System.in); int num, n, r; System.out.print ("Enter a number: … | |
In this program: 1) an integer typed 2D array named student_scores[Rows][Cols] is initialized by providing initialization list 2) then this array is passed to a function named total_scores which recevies two aurguments .- the first aurgument is for array with explicit use of column subscript .- the second one is … | |
These are two simple programs. In first program, i used static array, while in second program i used dynamic array. Both programs do the same job i.e. initiaze the array by asking the user to enter the their test scores. The problem is: 1)i have read in many books that … | |
// In this program: when i compile this program, the complier shows error in the main section(I have mention this error in main section) that is "can not convert sample to sample in assignment". this error is occuring only when i try to access private members of class through pointer … |
The End.