/*******
ANSWERS:
0. ctype.h not included, so no prototype for toupper()
1. semicolon after function definition
2. getchar() squeezed into a char, instead of an int
3. scanning into a double with a float specifier
4. assignment operator used instead of equality
5. order of operations
6. doubles as arguments for %d conversion
7. no newline
8. no comments
*******/

Back to index