I'm making finishing touches on one of my programming homework problems, and I'd like to make my program list the kind of units directly after the input in the terminal input, before the user actually enters the input itself.
Essentially, I'd like to make the system output the following line in the terminal window, with [] being a blinking cursor for the user's next input:
Input a number in inches: [] inches
Any ideas?