0

How To Put a Trap Invalid Selection That limits Choices from 1 to 2

Any Below 1 Would print as Invalid and Repeat the question again same as two if you exceed 2 it would ask again the question Please Kindly need Help For our Project

26th Nov 2018, 1:44 PM
Lorenze Saledain
Lorenze Saledain - avatar
1 Respuesta
+ 3
You can create a loop that runs infinitely until the input is either 1 or 2
26th Nov 2018, 2:07 PM
Lambda_Driver
Lambda_Driver - avatar