The number of calories burned per hour by cycling, jogging, and swimming are 200, 475, and 275,respectively. A person loses 1 pound of weight for each 3500 calories burned. Write a program that declares three variables, one to store the number of hours spent jogging, the second to store the number of hours spent cycling and the third to store the number of hours spent swimming. you should accept each of these variables values from the console window.Then Calculate and display the number of pounds worked off to the console window.
Accept six variables values from the console window.
Produce the outputof total calories burned and pounds lost.
1.5 3 2.1 200 475 275 1 2 3 200 475 275
Total calories burned = 1890.0. Pounds lost = 0.54. Total calories burned = 1700.0. Pounds lost = 0.4857142857142857.