Write a program to input name and age of any 5 persons and display. Print the average age of all the persons.
Answers
Answered by
0
Answer:
CLS
INPUT "enter age 1",num1
INPUT "enter age 2",num2
INPUT "enter age 3",num3
INPUT "enter age 4",num4
INPUT "enter age 5",num5
PRINT num1+num2+num3+num4+num5/5
END
Similar questions