Can't figure out a for statement that will make this function work...help please ASAP
Receives nothing from main
Returns an even integer
Ask the user for an even integer
Read in the user’s input value.
Repeat the prompt and input for any invalid numbers until a value
of the correct type is entered.
Return the legal input value.
All 2 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.