I have some simple questions:
1) How can I restart my program immediately. For example, when the user press F12 it will restart immediately even if the program is not complete.
2) In scanf the problem is: for example:
Height Width
enter the perimeter: 2
3 < the Cursor moves down what I wanted was that the cursor will remain in the width even the user presses enter. In my code I have scanf("%d %d", &height, &width);
3) How is backspace possible in C? Like when I use the if else my code would be
if(height<2)
{
It would delete the number typed by the user and make it blank so that the user would understand that u cannot enter a number less than 2.
}
Thx in Advance