Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Program to accept an enterkey , tab,and a space and print the following the stat using then

+1 vote
asked Jul 27, 2019 by anonymous

1 Answer

0 votes
answered Jul 31, 2019 by Swetha Vedhagiri (280 points)

scanf("%[^\n]s ",name);---it accepts all the string before the new line

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...