C program to print all uppercase alphabets using while loop
To print the uppercase alphabets from 'A' to 'Z',
- We will declare a variable for loop counter (alphabet) and initialize it by 'A' (uppercase 'A').
- We will check the condition whether loop counter is less than or equal to 'Z', if condition is true numbers will be printed.
- If condition is false – loop will be terminated.