I was doing c program in eclipse, first printf function is not showing in console, after I entered 2 values it is showing 2 printf out in same line, how to clear this problem
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int a,b,c;
printf("enter two numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("total is %d",c);
return EXIT_SUCCESS;
}
This is my code