For the following question, you need to create all three areas: An IPO Table, An Algorithm, A Flowchart. Question: Input the ages of all the students in your class. Calculate the average age. Display the average age of students in your class. 15 marks total
Answers
Answer:
Flowchart is nothing but a type of diagram that one uses to illustrate algorithm, work flow and process showing them as different kind of boxes and also showing the order of flow using arrows.
For finding the average of 3 numbers:
First you have to declare 3 variables.
Then take the input from the user for those 3 variables.
After that take the average of those 3 numbers by the formula (1st no + 2nd no +3rd no)/3 and store the result in some variable.
Then print that answer.
Or directly print the average without using extra variable.
Thanks
Explanation:
Flowchart is nothing but a type of diagram that one uses to illustrate algorithm, work flow and process showing them as different kind of boxes and also showing the order of flow using arrows.
For finding the average of 3 numbers:
First you have to declare 3 variables.
Then take the input from the user for those 3 variables.
After that take the average of those 3 numbers by the formula (1st no + 2nd no +3rd no)/3 and store the result in some variable.
Then print that answer.
Or directly print the average without using extra variable.
Thanks
Answer:
Explanation: