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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!