Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Im doing a c++ project and need to add a confirmation number to my project here is the instructions we are working on a amusement park assignment.

Im doing a c++ project and need to add a confirmation number to my project here is the instructions

we are working on a amusement park assignment. here is the code i have so far not sure how to add the confirmation number. Here what i tried to do but it isnt working.

int conNum(int a)

{

if (a == 1)

{

cout << "Confirmation Number = 100";

}

else

{

cout << "Confirmation Number = 100" +1

}

}

Add a confirmation number to the receipt. The first number should be 100 and then add 1 for each new receipt. 

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question