+ 1

How to initialize char type data type... In do while loop.. Such as while(ch=='y'¦¦ch=='Y')

26th Sep 2016, 7:43 AM
shashi
shashi - avatar
2 Respostas
+ 1
Char drink = 'd'; Int user_input; do { If ( user_input == 'd' ) System.out.println( "drink" ); } While(drink=='d' || drink=='D')
26th Sep 2016, 8:53 PM
Has Xan
Has Xan - avatar
0
char k = 'k'; int I = 0; do{ System. out.println(k); I++; }while(i != 5)
26th Sep 2016, 8:36 AM
MM1132
MM1132 - avatar