The problem

Write a program that will give you the total calories based upon entered fat, protein and carbohydrates grams. The calories of each gram are as follows: fat is 9, protein is 4, and carbohydrate is 4.

Print PDF

Topics

1. User Input

Languages

1. Any
2. PHP
3. C#
4. JavaScript