A user types a word and a number on a single line. Read them into the provided variables. Then print: word_number. End with newline. Example output if user entered: Amy 5
#include <stdio.h>
int main(void) {
char userWord[20];
int userNum;
scanf("%s", userWord);
scanf("%d", &userNum);
printf("%s_%d\n", userWord, userNum);
return 0;
}
Use left/right arrows to navigate the slideshow or swipe left/right if using a mobile device