Instructions:Write a java program (in eclipse) that stores these integers 10, 20, 30, 40, 20 in an array namednums. Write the code to count all the occurrences of 20 and then display the count.
Add the code to create a new integer array that has twice the number of elements asnumsand assign the values innums to the new array. Display the new array.
Try to think of a way for the program to calculate twice the number of elements for the new array
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here