is it possible to make scanf not go into a newline after printf?
#include <stdio.h>
#include <conio.h>
int main(){
int a;
scanf("%d",&a);
printf ("%d",a);
getch();
}
output(suppose a is 5) :
5
5
i want to print them in the same line like this
5 5
how do i do that?