32. Program to Display Character from A to Z Using Loop

void main()
{
char ch;

clrscr();

for(ch='A';ch<='Z';ch++)

printf("%c\t",ch);

getch();

}

Comments

  1. //Display A to Z alphabates using Loop
    #include
    #include
    void main()
    {
    char c;
    clrscr();
    for(c='A';c<='Z';c++)
    printf("%c\t",c);
    getch();
    }

    ReplyDelete

Post a Comment