Create a 15 element array representing a locker room for a basketball team. Ask the user for NAME, UNIFORM NUMBER, and LOCKER CHOICE(1-15). If choice is available, place player number in array location corresponding to locker. If a locker is not available, ask user if they would like to make another choice ,or would like to let the system assign them a locker. If they want to make another choice, show the user what is available. If they want the system to assign a locker, search for the first available locker and assign it by putting the player number in array location corresponding to locker. When there are no more users, print the locker assignments. Example: Please enter your name: Ewing Please enter uniform #: 33 Please enter locker choice (1-15):5 locker is available Ewing gets locker #5 Would you like to choose another locker? y/n Please enter your name: Johnson Please enter your uniform #: 2 Please enter your locker choice: 5 The locker is taken Would you like the system pick? (y/n):y Johnson gets locker #1 Locker assignments: Locker number Player # 1 2 2 avail 3 avail 4 avail 5 33 6 avail 7 avail 8 avail
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Deadline information
i would like to have this one asap. please use printf and scanf.