I did copy&paste, I just thought that my code got messed up for whatever reason when I posted. lol, that would be a lot of code rewriting.:rolleyes:
Type: Posts; User: reb221
I did copy&paste, I just thought that my code got messed up for whatever reason when I posted. lol, that would be a lot of code rewriting.:rolleyes:
Nevermind, I found the problem.
It turns out to the far right of those lines was a copy of the last part of those lines. It went like this:
scanf("%d", &ssn); ...
sorry, some of this stuff got messed up when I was posting this thread.
here's the real code:
printf("\nPlease enter the associates first name:");
scanf("%s", &first); ...
When I compile my program I get 2 semicolon related errors that says "statement missing ; in function main"
And these errors are on the following 2 lines:
scanf("%d", &ssn);
...
Thanks, that fixed it!
I'm making a program that will add all the values in an array to get a total value, I wrote out my program on paper and it should run just fine, but instead of the final variable of the array just...