Write a program to carry out the stated task

Assignment Help Basic Computer Science
Reference no: EM131411890

write a program to carry out the stated task

The number of calories burned per hour by cycling, running, and swimming are ZOO, 475, and 275, respectively. A person loses 1 pound of weight for each 3500 calories burned. Write code to read the number of hours spent at each activity and then display the number of pounds worked off. A sample run is shown in Fig. 3.13.

255_67bb3511-7362-43d1-9a17-768796c731df.png

Reference no: EM131411890

Questions Cloud

Calculation on annual payments : You are given the following data: A bond has a coupon rate of 7.225, the latest yield reported of 6.23 and 8 years to maturity. What is the price of the bond? A bond has a coupon rate of 6.95, the latest yield reported of 8.7 and 16 years to matur..
Write code to read the name of a baseball team : A sample run is shown in Fig. 3.16. In the following exercises, write a program to carry out the task. The program should use variables for each of the quantities.
Determining the energy and restaurants : The market risk premium is 8% and the risk-free rate is 4%. Company ABC, is a 100% equity company (no debt), and consists of two divisions that each make up 50% of the company: energy and restaurants.
What is the maximum per share price : Since there is substantial uncertainty regarding the dividends to be paid, you believe that a 23% rate of return is appropriate for this investment. Based on this information, what is the maximum per share price you would pay for this stock?
Write a program to carry out the stated task : A person loses 1 pound of weight for each 3500 calories burned. Write code to read the number of hours spent at each activity and then display the number of pounds worked off. A sample run is shown in Fig. 3.13.
How does the process of factoring work : Point your browser to http://www.winfin.com, the home page of Winston Financial Group, Inc. Your assignment is to explore this Web site and to answer the question: How does the process of factoring work?
Role and responsibilities of disaster participants : You serve as a volunteer emergency manager in a small, rural community in Alaska. Your town has been adversely affected by a major winter snow storm – one that has shattered all of the prior records. Roads are impassible and you are worried about the..
Determining the returns after-tax cash flow : Your company is looking at an investment that today costs $4,152 and returns after-tax cash flow exactly one year, two years, and three years from today, respectively, equal to $1,600 , $2,100 and $2,700.
What is probability that she has one child of each sex : In given Example, we found that the probability that a woman with two children either has two girls or two boys is .5002. What is the probability that she has one child of each sex?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How much would the thermal efficiency of the cycle

How much would the thermal efficiency of the cycle in Prob. 9-124 change if the temperature of the cold-air stream leaving the regenerator is 808C lower than the temperature of the hot-air stream entering the regenerator?

  Create a moving slideshow

The video tool's features may include editing existing video from a digital recorder or webcam or the ability to combine images and text to create a moving slideshow.

  What is cloud computing

What is cloud computing? How far back can you find the first usage of the term? Give examples of typical applications of cloud computing.

  How many cpus are required for simultaneous transactions

Explain the difference between concurrent transactions and simultaneous transactions. How many CPUs are required for simultaneous transactions?

  Current article related to project initiation

You will find a current article related to week 3 topic, Project Initiation, summarize the article in your own words, and then describe how the article relates to the course concepts.

  What are the problems with dynamic scheduling

Why is it not possible to design, in general, an optimal dynamic scheduler? What is a forbidden region, and why is it needed? What are the problems with dynamic scheduling in distributed systems?

  How many types of datastores are present in data services

How many types of datastores are present in Data services?

  Is the home advantage increased by playing a three-game

Is the home advantage increased by playing a three-game series rather than one-game playoff? That is, is it true that P[H] ≥ p for all p ≥ 1/2?

  Is the problem managerial or technical in nature

What factors might lead to redundant data across multiple files? Is the problem managerial or technical in nature?

  Is the encoded language regular

Show that if a language is regular over one alphabet, then it is still regular when encoded in a different alphabet, by any substitution code.

  What classification systems and descriptions are used

What classification systems and descriptions are used, and how can these be used to compare the features and components of each IDPS? Create a comparison spreadsheet identifying the classification systems you find.

  Tree diagram to explain why the probability that a family

Use a tree diagram to explain why the probability that a family with four children all have the same gender is 1/8. Assume that the probability of having a girl is equal to the probability of having a boy.

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