Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello I have this C++ lab. I really do not get the math through the program. Is there any tip you can provide with please.

Hello I have this C++ lab. I really do not get the math through the program. Is there any tip you can provide with please.

Running or walking burns out about 100 calories per mile. Write a program to calculate how many miles you would have to run or walk to burn off the burritos, salads, and shakes that you consume. Use the table shown below for the calculation.

Mexican Food Calorie Chart

Food

Calories

Bean burritos

357

Salad with dressing

185

Milk shake

388

The program would likely run as follows:

How many bean burritos, bowls of salad, and milk shakes did you consume?3 2 1 You ingested 1829 calories. You will have to run 18.29 miles to expend that much energy.

Q:

A person 1.91 m tall wants to be able to see her full image in a plane mirror

(a) What must be the minimum height of the mirror?___ Cm

(b) Assuming the mirror height in part (a), how far above the floor should the bottom of the mirror be, assuming that the top of the person's head is 17 cm above her eye level? Draw a ray diagram. (Do this on paper. Your instructor may ask you to turn in this diagram.)_____ cm above the floor eBook

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Combinatorial Testing In Cloud Computing

Authors: Wei-Tek Tsai ,Guanqiu Qi

1st Edition

9811044805, 978-9811044809

More Books

Students also viewed these Programming questions