This is my second assignment and it is way more confusing i have a few different ideas on possible pseudocode. ANY FEEDBACK HELPS!!!! THANKS
QUESTION : Calculate number of calories from FAT and CARBs for your food diet. Enter numbers of fat grams and Carbohydrate grams from the keyboard (don't forget user prompt)
a) design a traditional program as one piece, as we did in class before.
b) design a module (function) that takes two parameters, 1) "fat" or "carb" as text, 2) grams as a number then calculates the number of calories and displays it together with the food type.