Question: this is C++ the basics. thank you. Ask the user for the number of cookies per serving using the cin statement. Store this result in

this is C++ the basics. thank you. 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!