0

I am a new in c++ and need to solve some problems with flowchart

one of the problem ; "how to write a flowchart for a program that sums the inputted integers Until the user enters '0' "

17th Dec 2016, 6:00 PM
Muhammad Sayed Ahmed
Muhammad Sayed Ahmed - avatar
2 odpowiedzi
+ 6
Use conditional/decisional object, its represented by diamond. check if the input is zero, let one arrow point towards the output block, directly display the sum and end the program and if input is not zero then make another arrow from conditional object(diamond) point back to the block that you made for taking input from the user. In this way you form a loop.
17th Dec 2016, 6:16 PM
Saumya
Saumya - avatar
0
thank you, your answer very helpful
17th Dec 2016, 9:01 PM
Muhammad Sayed Ahmed
Muhammad Sayed Ahmed - avatar