Write a program that reads in four numbers from the user


Write a program that reads in four numbers from the user (allowing for decimal values) and calculate the sum, average, and product of these four values. Also, calculate the product of the sum of the first two and the sum of the last two numbers (i.e. (a+b)*(c+d)), Be sure to prompt the user for the values, read them in ( look to use the nextFloat method of the Scanner class), and then display the results.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that reads in four numbers from the user
Reference No:- TGS0569573

Expected delivery within 24 Hours