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