List variables, prompt, and write new program in pseudocode.
Declare Num1, Num2, and Num3 as intergers
Declare Average as real
Write "Welcome to the program. Enter 3 positive numbers",
INPUT Num1, Num2, Num3
Average = (Num1 + Num2 +Num3) / 3
Write "The average of three numbers entered is", Average
Stop
1. List all variable name(s) used in this program
2. List each prompt that is used in this program.
3. Show what the PC monitor will show when the program is executed with the following values used: 27, 12, and 15.
4. Write a new program in pseudocode, it should input-and calculate the average of 5 numbers entered.
By OTA: Abdun Mahmood, PhD
OTA Rating: 4.9/5
Your Price: $2.19 (original value ~$3.99)
What's included:
Page generated in 0.0133 seconds