Well when i run this now, after the first input of name it works fine. then after i input a score it jus skips the next name scan (outputs the prompt tho) then prompts for the next score.
...
Type: Posts; User: key4life
Well when i run this now, after the first input of name it works fine. then after i input a score it jus skips the next name scan (outputs the prompt tho) then prompts for the next score.
...
Ok thanks ALOT guys. It works good now. LAST problem i promise. I really dont know how to read strings with a space. Like if i enter John Brown. It messes up. Can only store One string at a time....
Ok so I implemented strcpy. Can someone show me how to do the two dimensional array for the names?
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main(void)
{
char...
Thanks alot guys. You helped me to correctly output the names. But now the program seems to output the name that was entered last with the correct score even if they're not associated with each...
I cant seem to get this to work. Keep getting weird output. No clue how to fix it. Can someone help me please?
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{