Computer Science, asked by Akari1457, 1 year ago

How can I write a program that uses two input statements to get two words as inputtThen, print the words on one line separated by a space on edhesive.com

Answers

Answered by gopimythili111
0

Answer:

I hope this is right

Explanation:

#include<studio.h>

main()

{

char name[5];

char city[9];

printf("Enter your name:");

gets(name);

printf("\nEnter your city:");

gets(city);

printf ("\n\t %s%s", name,city);

}

Similar questions