Question: IN C PROGRAMMING PLEASE.. - ...the use of structured programming. - ...selection and repetition. - ...the random number generator and related functions. Problem: You are

IN C PROGRAMMING PLEASE..IN C PROGRAMMING PLEASE.. - ...the use of structured programming. - ...selection

- ...the use of structured programming. - ...selection and repetition. - ...the random number generator and related functions. Problem: You are tasked to create a program that will make use of selection, looping, and user functions. Your_ program is called the OzzieWinner and UNF plans on using it to randomly pick ticket numbers that match those of guests at special events such as basketball games. The program should ask the user to enter in the number of ticket number and prize combinations they want, zero to quit. The program should then ask what the range of the random ticket numbers should be. Not every event sells out. The winning numbers will then randomly win one of the following prizes: UNF shirt, A free pizza, Season Passes, A large beverage, and last but not least $50 OzzieBucks. The program should print out a list with the winning ticket number, an alternate ticket number and the prize associated with that ticket's draw. You should evaluate your processes and determine which if any steps of the program would benefit from a user function. For example, perhaps a function to draw a ticket number or a function to determine what prize has been randomly selected. Yet other examples could be as simple as getting inputs from the user with messaging. You will not need to avoid repeating winners (the same ticket number being chosen more than once). Example of a working program's inputs and outputs. (Yours may differ in verbiage)

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!