Create loop to repeat the menu

Assignment Help Basic Computer Science
Reference no: EM132086793

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: EM132086793

Questions Cloud

Discuss about an awareness of the communication process : How might an awareness of the communication process, as discussed in Lesson 1, help an individual have success in an employment interviews?
Determine what services or treatments ought to be delivered : How does quality of life measurements affect the way healthcare professionals determine what services or treatments ought to be delivered?
Prepare an unadjusted trial balance : Prepare the income statement, the statement of owner's equity, and a classified balance sheet. Use proper formatting techniques including headings.
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
Create loop to repeat 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.:
Internet exploitation and primary federal law : Two online traps that have the most adverse impact on children are obscenity and cyberbullying. Regarding this topic I need assistance
Discuss innovation and diversification : Discuss Innovation and Diversification. Discuss Legal limitations. Evaluation and Control. Discuss Key Financial Ratios.
What was the cost of materials used in production : COST ACCOUNTING ASSIGNMENT. ALTAREEQAH Management Studies FZE, UAE. What was the cost of materials used in production
Describe any lease obligations the company disclosed : Create a 5- to 10-slide presentation and use the same publicly traded company selected in Week 2 to address the following.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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