Java_Control_Structures_Questions
Java_Control_Structures_Questions
Section: IF-ELSE
8. Find the grade from marks: 90+ -> A, 80-89 -> B, 70-79 -> C, below 70 -> F.
Section: WHILE
4. Reverse a number.
Section: DO-WHILE
7. Keep accepting marks till user enters -1, then print average.
11. Simulate ATM operations with continuous options (Withdraw, Deposit, Exit).
Section: FOR
**
***
****
****
***
**
12
123
1234
Java Control Structures Practice Questions & Solutions
***
*****