Functions - I don't know what to do.

I need help getting started with my assignment.

The program must store the player’s cash in a global variable.

You must use a function to draw a die on-screen. This function should draw only 1 die, and be called twice from main for each roll as needed.

Use a function to read and error check the player’s bet from the keyboard, making use of the global variable and returning the result.

Use a function to display the game rules.


If someone doesn't mind giving me help please.

Last edited on
Topic archived. No new replies allowed.