Monday 10 February 2020

CPP program to print A to Z

Source Code:
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
char c;
for(c='A';c<='Z';c++)
{
cout<<c<<" ";
}

return 0;
}

Program Output:

No comments:

Post a Comment