Writing a program for class, restricted to only scanf method. Program receives can receive any number of lines as input. Trouble with receiving input of multiple lines with
try this code and use tab key as delimeter
#include int main(){ char s[100]; scanf("%[^\t]",s); printf("%s",s); return 0; }