0
C++
How to use if/else in while loop? Can we usr if/else before while statement?
3 Answers
+ 2
By just using it like you normally use it, there's nothing specifically different.
You have only started with the tutorial.
Just read on and practice everything - you'll encounter everything!
+ 2
Yes, it's totally independent.
So you can use while or if/else on their own.
Or you can use while within if/else.
Or you can use if/else while.
+ 1
Ok