0
Incremental & decremental operators with while loop
How can one use a while loop with either decrement/ incremental operators? Maybe a sample code will do.
4 odpowiedzi
+ 5
Check this out:
https://www.sololearn.com/learn/Java/2146/?ref=app
+ 2
yes Denise
+ 1
Do you mean something like this?
While (i > 0){
//do something
i--;
}
While (i < 100){
//do something
i++;
}
+ 1
Lambda_driver, spot on sir