Question: In JAVA please Write a program that asks the user for two strings. The program will: print to the screen average length of the two

 In JAVA please Write a program that asks the user for

In JAVA please

Write a program that asks the user for two strings. The program will: print to the screen average length of the two string . - print to the screen true if the first string is equal to the second and false otherwise - randomly pick two characters, one from each string, and print them both, separated by a comma eg. If user inputs: computer science the output should be 7.5 false m,c (these characters could be different since they are randomly picked)

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!