Concept Flow - Handling input values
Start Program
Prompt User for Input
Read Input as String
Trim Input
Parse Input to Desired Type
Use Value
End Program
The program asks the user for input, reads it as a string, trims whitespace, tries to convert it to the needed type, and either uses the value or shows an error.