Question: This is java program... Please type it and paste it i really need help 2. Write a program that reads four integers and prints the
This is java program... Please type it and paste it i really need help
2. Write a program that reads four integers and prints the sum of their squares.
3. Write a program that reads three floating point numbers and prints the cube of their average
4.Write a program that prints the square of the product. Prompt for and read three integer values and print the square of the product of all the three integers.
5. Write a program that creates and prints a random phone number of the form XXXXXXXXXX. Include the dashes in the out- put. Do not let the first three digits contain an 8 or 9 (but dont be more restrictive than that), and make sure that the second set of three digits is not greater than 655. Hint: Think through the easiest way to construct the phone number. Each digit does not have to be determined separately.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
