Design a program that displays the menu

Assignment Help Basic Computer Science
Reference no: EM132092330

Would anyone be able to help me with this? I'm trying to learn/teach coding myself and I wanted to see how my answer to this compares to a correct answer. This is the example problem that I wanted tried coding.

Using pseudocode, design a program that displays the following menu, and create loop to repeat the menu after the user is done with the selected item.:

Select an item from the fitness menu:
  1. Enter heart rate
  2. Enter weight
  3. Enter number of minutes of activity
  4. End the program
Enter your selection.

If the user selects item 1, the program should display "What is your heart rate?"

If the user selects item 2, the program should display "Enter your weight in pounds(lbs.)."

If the user selects item 3, the program should display "How many minutes did you walk today?"

If the user selects item 4, the program should end.

After using any of the selections, the program should loop to repeat the menu, until the user selects '4' to end the program.

Reference no: EM132092330

Questions Cloud

Simulate and configure network devices : IT Infrastructure - Demonstrate knowledge of IT Infrastructure and design a network using three-layers hierarchal model
What is the lowest price the rail division should accept : The Air Division currently buys the gravel for $55 per ton from an outside source. What is the lowest price the Rail Division should accept
Booting to a corporate windows image : You have multiple people who work from their own home offices. Your manager decides that these users can use their own personal computers
What does each tell you about the company''s financial health : In peer group analysis, you compare a company's financial ratios to those of its peers. What does each tell you about the company's financial health
Design a program that displays the menu : Using pseudocode, design a program that displays the following menu, and create loop to repeat the menu after the user is done with the selected item.:
Some sort of operating restrictions on foreign investor : What are some examples (at least one) of a current event where government has imposed some sort of operating restrictions on a foreign investor?
How should m-m account for the second lawsuit : M&M is suing for $2,500,000 in damages to cover payment for the first lawsuit and damage to the company's reputation. How should M&M account for second lawsuit
Prepare the journal entry to record the impairment : Assume Wamser will continue to use this asset in the future. Prepare the journal entry (if any) to record the impairment of the asset at December 31, 2006
About your audience before delivering presentation : What are some of the details you should know about your audience before delivering a presentation?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Knowledgeable and proactive about threats

1. If you could, what would you do to help create a national "security culture" in which everyone is more knowledgeable and proactive about threats to information security?

  How far could it transmit a signal

A step-index multimode fiber has a modal dispersion of about 30 ns/km. Using the formula for maximum data rate for a given dispersion, about how far could it transmit a signal at 1Gbit/s?

  Design a main program that calls the procedure quick search

Design a main program that calls the procedure quick search. The main program should be able to read and search successive blocks of text.

  Desirable properties of the relational computation model

For this exercise, investigate how to remove this restriction while maintaining the desirable properties of the relational computation model, i.e., its simple logical semantics and efficient implementation.

  Describe the basic programming process involved

There are 10 parts in a full hopper. As parts leave, keep track of the number of parts remaining in the hopper 10. Describe the basic programming process involved in the cascading of two counters.

  National average reported by the cpi

How might it be possible for some consumers to experience more inflation than the national average reported by the CPI?

  Write an interactive python calculator program

Note: to quit early, the user can make the program crash by typing a bad expression or simply closing the window that the calculator program is running in. You'll learn better ways of terminating interactive programs in later chapters.

  About ethernet options

Ethernet Options

  Gigantic life insurance is planning the implementation

Gigantic Life Insurance is planning the implementation of Windows 10 for their internal staff. As part of the migration process, you want to standardize

  Write a java program that prints the numbers

FizzBuzz problem: Write a Java program that prints the numbers from 1 to 50. But for multiples of three print"Fizz"instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "Fizz..

  How to use system tools to identify problems

How can you use system tools, such as the Task Manager, to help identify and troubleshoot these problems? Report your findings in a one page paper.

  Create a schematic of the crankshaft

Figure 22.65. Create a schematic of the crankshaft, which rotates clockwise, and use a phantom line to show its path of motion. Use phantom lines to show the piston in its extreme right and left positions, and dimension the stroke.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd