Write a C++ program using nested loops, choosing two of the three loops discussed in Chapter 5 (while, do while, for), that will:
Allow a user to continue calculating the average of three numbers entered if their choice is 'y',
And a nested loop that will:
Loop three times allowing the user to input an integer value each time.
Note: You should calculate and output the average of the three numbers using the appropriate label.
The average should be formatted with 2 decimal places.
Use the labels in the example below for your output.
EX:
Enter Number: 39
Enter Number: 82
Enter Number: 90
Average: 70.33
Type 'y' to calculate another average:
If 'y' is entered...
Enter Number: