Question: code in c++ Assignment 3 (10 points) Calculating Calories Your goal is to take in the number of cookies per serving, the number of calories

 code in c++ Assignment 3 (10 points) Calculating Calories Your goal

code in c++

Assignment 3 (10 points) Calculating Calories Your goal is to take in the number of cookies per serving, the number of calories per serving, and the number of cookies caten to determine the total number of calories consumed. . The name of the program should be Assignment3 3 comment lines (description of the program, author, and date) Ask the user for the number of cookies per serving using the cin statement. Store this result in a variable with an appropriate name. (2 points) .Ask the user for the number of calories per serving using the cin statement. Store this result in a variable with an appropriate name. (2 points) Create an equation to divide the number of cookies per serving by the number of calories per serving. Save the result in a variable with an appropriate name. (2 points) .Ask the user for the number of cookies that they ate using the cin statement. Store this result in a variable with an appropriate name. (2 points) Display the number of calories consumed using a cout statement. (2 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!