Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

if statement returns false and bypasses indented code and goes to first non indent print line. GOOD but

0 votes
asked Apr 5, 2020 by ODowd (120 points)
upon running code it properly displays to print line that state "please re-enter correct value"

the code is supposed to stop running there but it continues to display code that is below the print line.

how can i make it stop at "please re-enter...."

1 Answer

0 votes
answered Apr 6, 2020 by 1916114 (260 points)
Please check the code ther emight be some minor error that you might not be able to notice other wise please keep the code and also keep the required output that we may check it.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...