Question: 1) a) Write a java that fills with random numbers from 1 to 100 an array of 20 elements and prints only those elements which

1)

a) Write a java that fills with random numbers from 1 to 100 an array of 20 elements and prints only those elements which are greater than 20.

b) Write a java program that reads a finite numbers of strings from the user. The program will print the array of inputted strings, will sort the array of Strings and print it again.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!