flow chart exercises
Answers
Answered by
0
Answer:
Explanation:
Q1. Add 10 and 20
To solve this problem we will take a variable sum and set it to zero. Then we will take the two numbers 10 and 20 as input. Next we will add both the numbers and save the result in the variable sum i.e., sum = 10 + 20. Finally, we will print the value stored in the variable sum.
Algorithm (in simple English)
Initialize sum = 0 (PROCESS)
Enter the numbers (I/O)
Add them and store the result in sum (PROCESS)
Print sum (I/O)
Flowchart
Similar questions
Social Sciences,
5 months ago
Computer Science,
5 months ago
Math,
5 months ago
Physics,
10 months ago
Science,
1 year ago
Math,
1 year ago