![]() ![]() 2.9 LAB: Expression for calories burned during workout Expression for calories burned during workout Different amounts of calories can be burned during various forms of exercise. ![]() Code : If you want to read the input values from user. Special character legend Input 25 130 120 45 Your output Calories: 349.81 calories Expected output calories: 349. SOLUTION : The code script for the given question is given below. Compare output Output is nearly correct, but whitespace differs. Some types of regulations, such as Maximum Achievable Control Technology (MACT) standards, explicitly use costs in determining their stringency. 2.14 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source) Women Calories - ((Age x 0.074) - (Weight x 0.05741) Heart Rate x 0.4472) - 20.4022 ) x Time/4.184 Men: Calories -((Age x 0 2017) + (Weight 0.09036) + (Heart Rate x0.6309) - 56.0969) Time/4184 Write a program. Special character legend Input 49 155 148 60 Your output Calories: 736.21 calories Expected output Calories: 736.21 caloriese 2. Output is nearly correct but whitespace differs. 2.27 LAB: Expression for calories burnedduring workoutThe following equations estimate the calories burned when exercising (source):Women: Calories ( (Age. LabProgram.java Load der int age, weight, heartRate, time age - sc.nextInt() weight = sc.nextInt() heart Rate - sc.nextInt() time - sc.nextInt() double calories calories - (((age 8.2757) + (weight. 2.22 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.09295) + (Heart Rate x 1.0781) – 75.4991) x Time /8.368 Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively Output the average calories burned for a person Output each floating-point value with two digits after the decimal point, which can be achieved as follows ("%.2f", your value) Exif the input is 49 155 148 60 the output is Calorie: 736.21 calorie LAR ACTIVITY 2221-LAB Expression for calories burned during workout 0/10 LabProgram java Load del template 10 11 12 13 14 1 Inte, weight, heart rate, time age sc.nextInt() weight - sc.nextInt() heartitate - Se.nextInt(): ties.nextInt() double colonies ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |