Question: Print The Code Jojo has just learned to code. Unfortunately, he doesnt know how to print a string in C. So Jojo asked you to
Print The Code
Jojo has just learned to code. Unfortunately, he doesnt know how to print a string in C. So Jojo asked you to make a program to output a code for printing a string that he asked. It is guaranteed that his string length is not more than 100. Format Input String that Jojo want to print. Format Output The code that can be used to print the string with the same format as the sample output.
Constraints
1 |S| 100
Sample Input 1 (standard input)
hello world
Sample Output 1 (standard output)
#include
int main() {
printf("%s ","hello world");
return 0;
}
Sample Input 2 (standard input)
Bina Nusantara
Sample Output 2 (standard output)
#include
int main() {
printf("%s ","Bina Nusantara");
return 0;
}
Note:
Please print the indentation using 4 space characters.
use c programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
