Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Making pyramid using nested loop 2/2
//g++ 5.4.0 #include <iostream> using namespace std; int main() { int a,b,c,space=10; for(a=0;a<7;a++){ for(b=0;b<space-a;b++){ cout<<" "; } for(c=0;c<2*a-1;c++){ cout<<"*"; } cout<<endl; } return 0; }
run
|
edit
|
history
|
help
2
Addition of two matrix **Part 2
Scope guarding
maximum nights you can accommodate
Test 13(2020)
scemo le
find first non repeating
sysFork3
matrix2
sd5
GenericPacker