im trying to make a connect four program built for two players and i cant seem get it
Code:
#include <stdio.h>
#include <math.h>
int main(void)
{
int player1, player2;
double count;
{
printf ("Welcome To Connect Four\n");
}
count = 0;
while (count < 6)
{
printf ("+---+---+---+---+---+---+---+\n| | | | | | | |\n");
count = count + 1;
}
printf ("+-1-+-2-+-3-+-4-+-5-+-6-+-7-+\n");
printf ("Enter Name of Player 1:");
scanf ("%d", &player1);
printf ("Enter Name of Player 2:");
scanf ("%d", &player2);
printf ("Welcome %d and %d.\n"), player1, player2;
}