Question

The Assignment Design a Visual Logic flowchart for a program that prompts the user to enter...

The Assignment
Design a Visual Logic flowchart for a program that prompts the user to enter ten numbers
one at a time. Use Console I/O (not the GUI interface). After the user has entered all ten
number the program will then print out the total of those ten number and quit.
Here is one example of what the program might look like when run:
Please enter a number: 5
Please enter a number: 10
Please enter a number: 2
Please enter a number: 0
Please enter a number: 7
Please enter a number: 8
Please enter a number: 2
Please enter a number: 1
Please enter a number: 6
Please enter a number: 100
The total is: 141

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Below the visual logic flowchart for the given problem.

Flowchart:

Explanation:

1.assign i to 1 and sum to 0
i is used to count the numbers of times the iterations to repeat.
sum is used to sum the numbers given through the console.
2.In the loop we take the input and add the number to sum and increment the i.
3.After i reaches to 10 the loop stops iterating.
4.prints the sum.

Note:

1.For input taking step in iteration we have to step text in the prompt as "Please enter a number:"

In the above image the "Demo mode" text is displayed because of the software demo mode.

If you have any queries, please comment below.

Please upvote , if you like this answer.

Add a comment
Know the answer?
Add Answer to:
The Assignment Design a Visual Logic flowchart for a program that prompts the user to enter...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Design the logic for a program that allows the user to enter a maximum of 10...

    Design the logic for a program that allows the user to enter a maximum of 10 numbers. If the use enters a -1 the input loop stops early. The value -1 is not data but a quit flag value that is not entered into the array. Then the program displays the count of the numbers entered and numeric average of the numbers (not including the -1 of course). After display the average of all the entered numbers, the program will...

  • 1. Backward String Design a program that prompts the user to enter a string and then...

    1. Backward String Design a program that prompts the user to enter a string and then displays the string contents backward. For instance, if the user enters “gravity” the program should display “ytivar" -VB or Visual Studio. It must be turned into a GUI program. Make sure to write comments and include pseudocode. -Paste a screenshot of the pseudocode, the VB code, and of the program running into a PDF.

  •     FLOWCHART Draw the hierarchy chart and design the logic for a program that calculates the...

        FLOWCHART Draw the hierarchy chart and design the logic for a program that calculates the projected cost of a remodeling project. Assume that the labor cost is $30 per hour. Design a program that prompts the user for a number hours projected for the job and the wholesale cost of materials. The program computes and displays the cost of the job, which is the number of hours times the hourly rate plus the 120% of the wholesale cost of...

  • 4. Design a flowchart for a program that prompt the user to enter name and sale...

    4. Design a flowchart for a program that prompt the user to enter name and sale amount for each of the 200 salesperson, one at a time. The program is to print the name of the salespersons with sales over $5000 and the number of salespersons with sales less than $5000. Need a Slow Chart Example Start Enter ham. Jen

  • Write a program in visual c# program named CheckMonth that prompts a user to enter a...

    Write a program in visual c# program named CheckMonth that prompts a user to enter a birth month. If the value entered is greater than 12 or less than 1, display an error message; otherwise, display the valid month with a message such as 3 is a valid month.

  • In-Class Assignment 4 (15 pts) Structured Programming, if Statements 1. Write a program that prompts the...

    In-Class Assignment 4 (15 pts) Structured Programming, if Statements 1. Write a program that prompts the user to enter a value. Print a message stating whether the input value is less than zero or greater than zero or equal to zero. Submit a screenshot of output for each case. See below for sample output Microsoft Visual Studio Debug Console Microsoft Visual Studio Debug Console Microsoft Visual Studio Debug Console Enter a value 5 Enter a value you entered zero. Enter...

  • Design a Python program that prompts the user to enter "yes" or "no" and validates the...

    Design a Python program that prompts the user to enter "yes" or "no" and validates the input. (Use a case-insensitive comparison) and another Python program that prompts the user to enter a number in the range of 1 through 100 and validates the input

  • C# Visual Studios Create a GUI application that prompts users to enter a ten (10) digit...

    C# Visual Studios Create a GUI application that prompts users to enter a ten (10) digit phone number, with hyphens and parentheses included – this input should be validated as a phone number adhering to the (XXX)-XXX-XXXX format. Should the user input an incorrect format, an error message should print to screen and your phone number textbox should be highlighted in red. Should an appropriately formatted phone number be entered, an acceptance message should printed to screen and your phone...

  • Using Python, write a program that prompts the user to enter their age as an integer...

    Using Python, write a program that prompts the user to enter their age as an integer and then prints out a message that says I suspect you were born in the year xxxx where "xxxx" is the current year minus the age entered. An example run where the user entered 10 for their age, would look like this: Please enter your age as an integer: 10 I suspect you were born in 2009

  • Using C++ Design a program that Prompts the user to enter in 4 numbers, then have...

    Using C++ Design a program that Prompts the user to enter in 4 numbers, then have the program arrange the numbers entered in Ascending order using "if" statements to complete the task...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT