Here I have a very simple program:
printf("Enter your number in the box below\n"); scanf("%d",&number);
Now I would like the result to look like this:
Enter your number in the box below +-----------------+ | |*| | +-----------------+
Where | * | this is a blinking cursor where the user enters their value.
Since C is a linear code, it will not print the field, and then ask about the output, it will print the top row and left column, and then after entering print the bottom row and right column.
So my question is: can I possibly move the field first and then return the function to the field?
source share