- #1
jasonsmith206
- 10
- 0
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
Amy_5
#include <stdio.h>int main(void) {
char userWord[20] = "";
int userNum = 0;
/* Your solution goes here */
return 0;
}Was part of homework but its over a week old. Just want to know how to work it and any help would be greatly appreciated.
Thanks!
Amy_5
#include <stdio.h>int main(void) {
char userWord[20] = "";
int userNum = 0;
/* Your solution goes here */
return 0;
}Was part of homework but its over a week old. Just want to know how to work it and any help would be greatly appreciated.
Thanks!