Wednesday 12 August 2020

Program 2

 Program 2

Write a program that asks the user to enter three numbers (use three separate input statements). Create variables called total and average that hold the sum and average of the three numbers and print out the values of total and average.

Program:

Output:


No comments:

Post a Comment