Hint for getting a valid value
- Use a priming read with an event controlled loop
- See the class examples
- As long as the value is not valid
- Display an error message
- Re-get the number
This topic: CenterForComputing
> WebHome >
Syllabi >
SyllabiFall2024 >
CSC121SylF2024 >
CSC121F2024Lab04 > CSC121F2024Lab04Hint03
Topic revision: r1 - 2024-06-10 - CathyBareiss