Похожие чаты

I'M taking 2 user inputs using scanner from the keyboard.

How do I check if both inputs are integers and not doubles?

3 ответов

31 просмотр

why inputs from keyboards and not using a GUI or reading data from file (txt, xml, csv) ?

Clockmaster-ਜੱਟ Автор вопроса
Mihai
why inputs from keyboards and not using a GUI or r...

yeah, it would be much easier with a stream but this is a part of a course I'm doing and they explicitly state I need to take user input via keyboard.

Clockmaster-ਜੱਟ Автор вопроса

Btw I did accomplish this with nested if's but just wanted to try and optimize it via loops

Похожие вопросы

Обсуждают сегодня

Карта сайта