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