
Concept explainers
Write a flowgorithm with a nested loop the performs the following:
Write an outside loop that keeps the program running until told to stop by user
input
Write an inside loop that generates a specific quantity of random numbers
between 1 and 500, the user determines how many numbers will be generated
o Inside loop ask how many random numbers to generate
o The flowgorithm random number generator supplies the required random
numbers
o Write the logic to determine if each number is even or odd (DO NOT
display each number generated) modulo division??
o Total the count of the even and odd numbers generated, not the sum
o After generating the required numbers display the total even and odd
numbers
o Ask if another set of random numbers is needed
I need a FLOWCHART not a PSEUDOCODE.


Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 2 images

- Answer pleasearrow_forwardWrite a flowgorithm program, using nested loops, that performs the followingtasks: The outside loop asks if the user is going to enter numbers to sum The inside loop should:o ask for input of a positive or negative numbero input of zero (0) will terminate the input loop and display the sum ofthe input numbers The outside loop, will ask if a new set of numbers will be will input orshould the program stop. If a different set of numbers is input a new sum should be calculated anddisplayed. The program continues to run until stopped via the outside loop.Remember the following: use clear prompts for your input label each output number or name use comment box for your name, lab name and date at the top of theflowgorithm use other comments where appropriate use appropriate constantsarrow_forwardA loop should output 1 to n. If n is 5, the output is 12345. What should XXXand YYY be? Choices are in the form XXX / YYY.arrow_forward
- Write a Flowgorithm program that: 1 - utilizes nested loops to calculate the factorial of a number2 - prompts the user for input of a positive integer3 - utilizes a loop to calculate the factorial of that number4 - displays clearly labeled results5 - asks user if he or she wish to run the program againarrow_forwardWrite a pseudocode and flowchart and add in a while loop and a do- while loop(can be any scenario related to the question) for a store that wants to ask a user to enter daily sales, calculate weekly total and display the results. declare all variables and use proper indentation.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





