42rejects / c-sync-swim-december

December Synchronized Swimming Peer-to-Peer Learning of the C Language
0 stars 0 forks source link

main.c #8

Open sdk7327 opened 7 years ago

sdk7327 commented 7 years ago

Description: This is the core logic of the program. The functions are all set up to do what their names suggest, now you just have to arrange them to tell the "story" of this quiz game. You'll start with a loop that continuously cycles back to the menu, reading the user input each time and then doing something based off what command they enter. Look at all the function prototypes and read these understand how everything connects and you will make it work.

Prototype: int main(void);

Requirements: 1) Organize calls to the other functions. 2) Loop until menu() returns the exit command.

sdk7327 commented 7 years ago

Also, remember to comment! 42 doesn't like it, but your teammates will!

roccaturi commented 7 years ago

Each story (this is #8, the others are #9-#13) gives its prototype in the description. So main (story #8) is prototyped: int main(void); And menu (story #9) is prototyped: char menu(void); And so on...