title: Expected Expression before Function Type in Main
body: <p>I'm getting an error on line 34 saying there's an "expected expression before 'void'" (or int, if I change the function type, I'm not sure which it should be). I'm not sure how to fix this.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;math.h&gt;
  
  // Declare Function Prototypes
  void PlayingDice(void);
  void GuessNumber(void);
  
  int main (void)
  {
      // Loop so games can be replayed
      do
      {
  
          // Introducing Games
          int game, UserGuessDice, UserGuessNumber, die1, die2, sum, number;
          printf("Do you want to (1) play dice, (2) guess the number, or (3) exit program?\n");
          scanf("%d", &amp;game);
  
          printf("You have selected %d.\n", game);
  
          if (game==1)
              {
                  // Calls Playing Dice Game
                  printf("%d", void PlayingDice(void));
              }
  
          else if (game==2)
              {
                  // Calls Guess Number Game
                  printf("%d", void GuessNumber(void));
              }
  
          else
              {
                  // In case user enters invalid option
                  printf("That wasn't an option!\n");
              }
      }
  
      while (game != 3);
  
      // End Program
      printf("Good bye.\n");
  
  return (0);
  }
  </code></pre>