Thursday, 8 January 2015

C plus plus Pattern # 8

Leave a Comment
Code:

#include<iostream>
using namespace std;
void main()
{
int squre = 4;
for(int i = squre;i>=0;i--)
{
for(int j = squre;j>=0;j--)
{
cout<<char(65+i);
}
cout<<endl;
}
}


Output:


If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: