Pattern 1 December 01, 2018 Get link Facebook X Pinterest Email Other Apps #include<iostream> using namespace std; int main() { int a=0; for(int i=1;i<=16;i+=4) { cout<<endl; for(int j=i;j<=i+a;j++) cout<<" "<<char(j+64); a++; } return 0; } By Ayush Gupta, Student Comments
Comments
Post a Comment