Need help for a beginner on several related aspects Smile
How to start the program only after entering the command?
That is: the program throws out the text "To start press (X)" and waits with the execution of the rest of the program until you enter the appropriate character from the PC keyboard.
How to stop the program at the appointed time?
That is: Before starting, the program throws out the text "How long will the program last (in min)?". The time in minutes is given, entered from the keyboard and after the specified time the program stops the loop.
How to store the data from the predetermined time in the memory and display it at the end?
That is: the program has a timer implemented - it starts when the program starts. How to store and, after stopping the program (from point 2), display on the screen the values obtained in 5, 10, 15 etc. minutes?
Translated with www.DeepL.com/Translator (free version)