Saturday, 12 December 2015

write a program that show A-Z alphabets with loop structure in c++

#include<iostream>
#include<conio.h>
using namespace std;
int main()
{ char a;
a='A';
do{ cout<<a<<" "; a++;
} while(a<='Z');
getch();
}

No comments:

Post a Comment