Question: May I please get help on this question in c++, I did most of the program I am just stuck on the return value thats

May I please get help on this question in c++, I did most of the program I am just stuck on the return value thats all please help me see what is wrong that I am doing in this program.

May I please get help on this question in c++, I did

Define a function FindLotteryPrize() that takes one integer parameter as the lottery number, and returns the prize as an integer. The prize is returned as follows: - If lottery number is 119 or 127 , prize is $12500. - If lottery number is 712 or 891 , prize is $19000. - Otherwise, prize is $0. Ex: If the input is 119 , then the output is: 12500

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!