A Program that display alphabets from A to Z using for Loop.
Exercise program no.4(IT Serise Book for C++ Programming)
A Program that display alphabets from A to Z using for Loop.
using namespace std;
#include<iostream>
#include<conio.h>
int main()
{
char n='A';//initialized with A otherwise output may be wrong
for(n=='A';n<='Z';n++)
{
}
getch();
return 0;
}
A Program that display alphabets from A to Z using for Loop.
Reviewed by Alpha
on
3/26/2017 10:37:00 am
Rating:
No comments: