How to take inputs for char ?
Character inputs
@Nitya_Somani Hi nitya, it is how you take char as input!
char ch=sc.next().charAt(0);
If your doubt is clear mark it resolved else feel free to ask!
Happy coding!
How to take inputs for char ?
@Nitya_Somani Hi nitya, it is how you take char as input!
char ch=sc.next().charAt(0);
If your doubt is clear mark it resolved else feel free to ask!
Happy coding!