![]() ![]() Output each floating-point value with two digits after the decimal point. in the form of instructor demonstrations during the lecture, or (c). Output calories burned for women and men. for many great discussions on the laboratory experiment and lab practical exams that. Write a program with inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. View 1.22.1 Lab Expression for Calories burned during workout.png from IT 140: INTRODUCTI at Southern New Hampshire University. 2.28 LAB: Expression for calories burned during workout The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article (source) Calories ((Age x 0.2757) + (Weight <0.03295) + (Heart Rate x 1.0781) 75.4991)x Time /8. 1 Ageint(input()) read age from user 2 Weightint(input()) read Weight HeartRateint(input()) read HeartRate 4 timeint(input()) read time 5 Calories((Age0.2757)+(Weight0. ![]() Enter program input (optional) If your code requires input values, provide them here. Men: Calories ( (Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) 55.0969 ) x Time / 4.184. 2.28 LAB: Expression for calories burned during workout The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article (source) Calories ( (Age x 0.2757) + (Weight x 0.03295) + (Heart Rate x 1.0781) - 75.4991) x Time / 8.368 Write a program using inputs age (years), wei. Unformatted text preview: LAB 1.22.1: LAB: Expression for calories burned during workout 10 / 10 V ACTIVITY main.py Load default template. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. 1 user_int = int(input('Enter Integer (32 - 126): \n')) 2 3 # FIXME (1): Finish reading other items into variables, then output the four values on a singl 4 5 # FIXME (2): Output the four values in reverse 6 7 # FIXME (3): Convert the integer to a characer, and output that character Run your program as often as you'd like, before Develop mode Submit mode submitting for grading. LAB: Warm up: Variables, input, and type conversion Enter float: 3.77 Enter character: Z Enter string: Howdy 99 3.77 z Howdy Howdy z 3.77 99 99 converted to a character is c 247772.1716882 LAB ACTIVITY 1.23.1: LAB: Warm up: Variables, input, and type conversion 0/5 main.py Load default template.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |