Got it the answer guys. To check it without using another function, it would be
....
else if ( argc==3 && sscanf(argv[2], "%f", testscore) { testscore = atof(argv[2]); printf("Hi, Mr.%s, your score is %.1f\n", argv[1], testscore);}
...
Got it the answer guys. To check it without using another function, it would be
....
else if ( argc==3 && sscanf(argv[2], "%f", testscore) { testscore = atof(argv[2]); printf("Hi, Mr.%s, your score is %.1f\n", argv[1], testscore);}
...