#include
int main(){
int a,b,c;
scanf(\"%d%d%d\\n\",&a,&b,&c);
printf(\"%d %d %d\",a,b,c);
return 0;
}
scanf
is only used to input values, now what you need is the your output to be on a new line, basically you want a newline to be printed on your screen, so you must use the \n
in the printf
as you want a new line to be printed.As for why it is asking for four inputs , Im not sure, the syntax says that you must you use %
and a letter according to the type of data to be accepted, Ill read more on this and Get back.
Thank You.