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

  Implementing the transactions using sql

Write down the complete transaction utilizing the SQL. Write down the full transaction log

  What sorts of measures would you recommend

What sorts of measures would you recommend for minimizing changes to project schedules caused by non-availability of required human resources, or conflicts with the personal plans of project workers (e.g. vacations).

  Explain how to compile and run a standalone java application

Write a simple Java program that incorporates as a minimum three best practices for making your code readable and understandable by yourself and others.

  Formal mission statement about soft-wear, limited

Explain how do the information systems help the people working individually and in groups make the decisions more efficiently? Write down a formal mission statement about the Soft-Wear, Limited (SWL).

  How to deal with such issues

Whilst group synergy is good phenomenon to observe in action, the converse is sometimes just alike  to occur with work teams (virtual or otherwise). That is, teams might sometimes have disruptive or non-cooperative members who impair performance.

  Determining different sales transactions

By using example of the retail clothing store in a mall, state the relevant data flows, data stores, processes, and the sources/sinks. Find out the different sales transactions.

  Make a heading that contains the name of the software

discuss a specific virus software, its advantages and disadvantages. make a heading that contains the name of the software you are reviewing. It should be about half-page or less.

  Explain protocol and network switching device

An area along the north wall of the coffee house has been set aside for the five computer stations, and since this is a very popular local hangout, it is expected that the computers, as well as wireless connections, would be in constant use. She i..

  Problem on stack

Problem on Stack

  Printing of fibonacci series

Write down a program which utilized a loop to determine the first seven values of Fibonacci number sequence explained by the following formula.

  Designing the calculator program

Develop a calculator program which will subtract, add, multiply, or divide two numbers input given by a user. If user selects division, do not permit the user to divide by 0

  When does pipelining not offer any benefit

How does branch prediction, forwarding, and stalls help make a computer faster.

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