Write down a program to request a person''s age

Assignment Help Computer Engineering
Reference no: EM1332885

In order for exercise to be beneficial to the cardiovascular system, the heart rate (number of heart beats per minute) must exceed a value called the training heart rate, THR. A person's THR can be calculated from his age and resting heart rate (pulse when first awakening) as follows:

a. Calculate the maximum heart rate as 220 - age.

b. Subtract the resting heart rate from the maximum heart rate.

c. Multiply the result in step (b) by 60%, and then add the resting heart rate.

Write a program to request a person's age and resting heart rate as input and display their THR. (Test the program with an age of 20 and a resting heart rate of 70, and then determine YOUR training heart rate.)

Reference no: EM1332885

Questions Cloud

Social influences affects decision-making by us consumers : Select one of the social influences that affects consumer decision-making. Provide a definition for it and discuss how this affects decision-making by U.S. consumers.
Subordinates for performance evaluation : Analysis the merits and weaknesses of this policy for a large business organization. Cite all sources.
Calculate cost of equity using dcf-capm : Compute the Medical Associates' cost of equity estimate by using the DCF method. Calculate the cost of equity estimate using CAPM.
Discusing the informed consent in research : Discuss and define 'informed consent' in criminal justice, as well as whether or not the Department of Health and Human Services guidelines of 1981.
Write down a program to request a person''s age : In order for exercise to be beneficial to cardiovascular system, heart rate (number of heart beats per minute) must exceed a value called the training heart rate.
Prepare a memo to upper management : Evaluative measures as directives for HR will be used to measure the divisional effectiveness over the next five years.
Share valuation and capm modelling : What is the value of a share of Caledonia prior to the acquisition? What is the new value of a share of stock in Caledonia, assuming the acquisition is completed?
Show the current selections made by the user : construct a program that demonstrates the enhanced options for the MessageBox class. Use three GroupBox controls with RadioButton controls contained within each.
Explain e-communication : Explain E-communication and available that will allow e-merchants to provide new levels of service and customer satisfaction to consumers

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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