Here I have a very simple program:
printf(\"Enter your number in the box below\\n\");
scanf(\"%d\",&number);
Now, I would like the ou
In the linux terminal you may use terminal commands to move your cursor, such as
printf("\033[8;5Hhello"); // Move to (8, 5) and output hello
other similar commands:
printf("\033[XA"); // Move up X lines;
printf("\033[XB"); // Move down X lines;
printf("\033[XC"); // Move right X column;
printf("\033[XD"); // Move left X column;
printf("\033[2J"); // Clear screen
Keep in mind that this is not a standardised solution, and therefore your code will not be platform independent.