See, Editors like netbeans have an inbuild prompt that emulate the command prompt of the OS,
However, these should not be seens as a benchmark for your system.
usually editors now a days have limited support for text input via thier console.
if you do want to have an interactive user input in a CUI interface,
run the program via the os command prompt.
The problem is that now a days CUI is obsolete, you can prepare a GUI in a matter of seconds that does the same job in a more pleasing way.