Question: Define a function Find Prize0 that takas one integer parameter as the lostery number and returns the gries ay an igeqer the prize. is tokurned

 Define a function Find Prize0 that takas one integer parameter as

Define a function Find Prize0 that takas one integer parameter as the lostery number and returns the gries ay an igeqer the prize. is tokurned as followa - If fottery number is 244 or 335 , arize is $16000 - If lottery riamber is 887 or 890, prize is 85000 - Otherwisei prize is 90 Ex: If the input is 244, then the output in: 16000 1 ainclide idostream? 2. using hamisace sto: 4 5 int main (?) int nubber) cin sh nuerbee: cout se Findprite (nbery \&s und 1 . i) roturn a: Define a function Find Prize0 that takas one integer parameter as the lostery number and returns the gries ay an igeqer the prize. is tokurned as followa - If fottery number is 244 or 335 , arize is $16000 - If lottery riamber is 887 or 890, prize is 85000 - Otherwisei prize is 90 Ex: If the input is 244, then the output in: 16000 1 ainclide idostream? 2. using hamisace sto: 4 5 int main (?) int nubber) cin sh nuerbee: cout se Findprite (nbery \&s und 1 . i) roturn a

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!