Hi, I have decided to make a area calulator for my first "big" project. I have set it up so when you open it you see four options in the console. I have programed it so when the user hits 1,2,3 or 4 and hits any key to continue it executes the following part of the script. What my question is:
"How do I make it so the user can press a button and have the program go back to the main screen and have the entrys and calculations that were just done be eresed from the screen?"
The way I programed the selections on the main screen are using if statements if that helps at all.
If you would like me to post the source code I will.
I'm thinking that what I need to use is a while or do while function but I cant seem to get them to work correctly.