function prototype with array
So this is kind of a broad question , but my textbook is pretty terrible at explaining some fundamental things about modular programming. I'm writing a blackjack program and I have about 8 different function prototypes:
void clean (void);
void Initialize_Deck(int deck);
void Shuffle_Deck(int deck);
int Draw_One_Card(int deck);
void Display_Card(int card);
int Score_Card(int card);
char Users_Turn(int deck);
my question is this:
For my function Users_Turn I need to use Draw_One_Card to get a card then pass this value to Display_Card which in turn passes the cards value to Score_Card.
How do i pass this value between one another? I find this really confusing. The books I have don't show complicated enough programs to use as an example. Usually they values the programs in my text obtain are from the users input and then transferred to a function prototype.
Right now I'm trying to call all of my functions from User's turn but it doesn't look right.
I'd really appreciate some outside thoughts on this. If you need me to clarify anything please let me know.