An extra space in console output.
There is a extra space (indentation) in the output of my code.
The output should be :
Enter your number:
Enter your number:
Enter your number:
but that is not the case this is the Clion output:
Enter your number:
Enter your number:
Enter your number:

#include <stdio.h>
int main() {
int x =0;
printf("Enter your number: ");
scanf("%d", &x);
printf("Enter your number: ");
scanf("%d", &x);
printf("Enter your number: ");
scanf("%d", &x);
printf("Enter your number: ");
scanf("%d", &x);
printf("Enter your number: ");
scanf("%d", &x);
printf("Enter your number: ");
scanf("%d", &x);
return 0;
}
请先登录再写评论。
Hello! What OS and what toolchain do you use? Please provide a screenshot of File | Settings | Build, Execution, Deployment | Toolchains (after the information in all fields is detected).