Your key to unlimited learning
Posted on Apr 7, 2020
C program to print all uppercase alphabets using a while loop.
#include<stdio.h> #include<conio.h> void main() { char alpha; alpha = 'A'; printf("Uppercase alphabets are\n"); while(alpha<='Z') { printf("%c ",alpha); alpha++; } getch(); }
Uppercase alphabets are A B C D E F G H I J K L M N O P Q R S T U V W X Y Z