1. Using if

2. Using switch

3. Using while loop

4. Using do while loop

5. Using for loop

6. Using Macros

7. Using Command-Line arguments