191k views
3 votes
write algorithm and flowchart to calculate sum,difference, product and quotient of two integer number given by the user.​

User Claris
by
5.3k points

1 Answer

7 votes

Answer:

Step1: Start

Step2: Initialize the count variable to zero

Step3: Initialize the sum variable to zero

Step4: Read a number say x

Step 5: Add 1 to the number in the count variable

Step6: Add the number x to the sum variable.

Step7: Is the count variable in the memory greater than 50?

If yes, display the sum: go to step 8.

If No, Repeat from step 4

Step8: Stop

Step-by-step explanation:

write algorithm and flowchart to calculate sum,difference, product and quotient of-example-1
User Narayanan
by
6.7k points