Friday, 27 September 2013

Prompting for a double and reading in until user has correctly entered a floating point number

Prompting for a double and reading in until user has correctly entered a
floating point number

I don't quite understand this question. It wants me to write a code that
prompts for and reads a double and repeats that process until the user has
correctly entered a floating point number.
Isn't double a type of floating point? So how would this code end?

No comments:

Post a Comment