increment/decrement:-
increment and decrement operators are used to increase or decrease the value by 1.increment and decrement can be of two types-
post increment and pre increment
These operators are used to compare two or more values.
In computer programming languages, a switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of program execution via a multiway branch.
while:-
the while is also used to test the condition. the loop is executed till the condition becomes false.