Saved Bookmarks
| 1. |
Consider the following output and write down the code for the same. 1 2 2 3 3 3 4 4 4 4 |
|
Answer» #include<iostream> using namespace std; int main() { int i,j for(i=1;i<5;i++) { for(j=1;j<=i;j++) cout<<i<<''"; cout<<endl; } } |
|