i have array
int array[] = {1,2,1,3,4,5,2,3,4,5};
i want to remove duplicates from this array by usin simple java code without using any math rule like HASH. etc
output int this form...
...
Type: Posts; User: muhammad waqar
i have array
int array[] = {1,2,1,3,4,5,2,3,4,5};
i want to remove duplicates from this array by usin simple java code without using any math rule like HASH. etc
output int this form...
...
write a program to calculate the sum of each row & column in 2-dimensional array.
i have assignmental task ....
pls guys help me ...
i am bigener of java....
so have lttle concepts about java...
thankx in advance....
write a program to generate intersection of two...
Write a program to remove duplicate elements from array list........
out put comes from this program is:
1 occurs 1 times
13 occurs 1 times
0 occurs 2 times
9 occurs 0 times
84 occurs 1 times
0 occurs 2 times
13 occurs 3 times
2 occurs 1 times
//this program give output 1^3 + 2 ^3 + 3^3 + 4^4....upto n input numbers.......
//but now i wana to get out put in this form 1^1 + 2^2 + 3^3 + 4^4 .....upto n input numbers......
//pls help me...
WRITE JAVA FOR WHILE SYNATX CODE GIVE OUT
1^1 + 2^2 + 3^3 + 4^4 + 5^5
Result=3413