+ 1

How can i take mathematical operators like +, /,- etc. as input from user in java?

11th Jul 2022, 5:56 AM
Ayush Singh
Ayush Singh - avatar
1 ответ
+ 2
Ayush Singh Scanner scanner = new Scanner(System.in); char c = scanner.next().charAt(0);
11th Jul 2022, 6:07 AM
A͢J
A͢J - avatar