Computer Science, asked by samaniaditya2005, 8 months ago

write a code in java to claculate
Calories are units of energy found in all foods.

.

If the person is sedentary, that person's activity factor is 13

If the person is active, that person's activity factor is 15.

There is no activity factor for an overweight person (ic. 80 kg and above)

Write a program to enter person's weight and his lifestyle as a character, 'A' for active or 'S' for sedentary and recommend the number of calories a person should eat each day

Multiply the activity factor by the person's weight to get the recommended number of calories.

If a person's weight is 80 kg or above, recommend "Liquid diet once a week"

irrespective of his lifestyle.​

Answers

Answered by adityapipania
0

Answer:

no

Explanation:

no no no no no no no no no

Similar questions