Question: Using a flowchart, design the logic for a program that allows a user to continually enter numbers until the user enters 0 and display the

Using a flowchart, design the logic for a program that allows a user to continually enter numbers until the user enters 0 and display the sum of the numbers entered .Create a main flow that includes: start and stop symbols a declarations sections with number variables named number and sum a houseKeeping() module a condition that tests if number variable is not 0 a detailLoop() module a finishUp() module
Create a houseKeeping() module flow that includes:
a start symbol for the module an output that prompts the user to enter a number. an input statement that assigns the entered number as the value for the number variable. a statement that assigns a value to the sum variable a return symbol
Create a detailLoop() Module flow that includes:
a start symbol for the module an increment statement that increases the value of the sum variable by the number variable.an output that prompts the user to enter another number an input statement that assigns the value of the new number entered as the value for the number variable a return symbol
Create a finishUP() module
a start symbol for the module an output that lets the user know the sum of all numbers entered an output that lets the user know that the program has ended 1. Create a main flow that includes:
1. start and stop symbols
2. a declarations sections with number variables named number and sum
3. a houseKeeping() module
4. a condition that tests if number variable is not 0
5. a detailloop() module
6. a finishUp() module
2. Create a houseKeeping() module flow that includes:
1. a start symbol for the module
2. an output that prompts the user to enter a number.
3. an input statement that assigns the entered number as the value for the number variable.
4. a statement that assigns a value to the sum variable
5. a return symbol
3. Create a detailLoop() Module flow that includes:
1. a start symbol for the module
2. an increment statement that increases the value of the sum variable by the number variable.
3. an output that prompts the user to enter another number
4. an input statement that assigns the value of the new number entered as the value for the number variable
5. a return symbol
4. Create a finishUP() module
1. a start symbol for the module
2. an output that lets the user know the sum of all numbers entered
3. an output that lets the user know that the program has ended
Using a flowchart, design the logic for a program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!