I have to use the "do while" statement for the following question in my programming class:

Prompt for a number between 2.5 and 6.5 (loop until a number is correctly inputted)

If the number is outside the specified range, display an error message and ask for another number.

Help needed thankyou. I dont know how to write this???