
Question
Accept the String From the User and Print the Same
Input Format
1<=StringLength<=100
Sample TestCase Expected Output
1. WorldofTech WorldofTech
2. 'C' the Change 'C' the Change
Answer
#include <stdio.h>
int main(){ char str[100]; scanf("%[^\n]s",str); printf("%s",str); return 0;}
This comment has been removed by a blog administrator.
ReplyDelete