Okay, I tried to just initialize it after players gets input
scanf("%d", &players);
int sums[players];
But that still gave me junk. Any ideas for a work around?
Type: Posts; User: Incompetence
Okay, I tried to just initialize it after players gets input
scanf("%d", &players);
int sums[players];
But that still gave me junk. Any ideas for a work around?
Hey!
I was trying to write a simple program to tally each players score in a game of disc golf, then display it at the end. Maybe there's a better approach I could use?
Anyways, I keep getting...