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.
Program to print all uppercase alphabets from 'A' to 'Z' using while loop in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer