How do i read individual chars in a scanner input please? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do i read individual chars in a scanner input please?

so if i input "hello" into scanner i can then create a program to edit each char. example. inputs "hello"; if(h) if(e) ect...

15th Sep 2017, 9:39 AM
D_Stark
D_Stark - avatar
1 Answer
+ 24
Scanner class not support to input char variable. https://www.sololearn.com/discuss/696403/?ref=app
15th Sep 2017, 9:46 AM
Nithiwat
Nithiwat - avatar