Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pattern
#include<iostream> using namespace std; int main(){ int i,j,k,ar[6]; for(i=0;i<5;i++){ k=i+1; cout<<"\n"; for(j=0;j<5;j++){ if(i>=j){ if(j==0) cout<<k<<" "; else{ k=k+(5-j); cout<<k<<" "; } } } } }
run
|
edit
|
history
|
help
0
lab17feb22x4B.cpp
Vowel_check
CPP - Arrays - Ex.2 - Solution
Logical AND versus Bitwise AND
rotation
Partition to K Equal Sum Subsets
HelloWorld
blad-z-obcinaniem-koncowek
CAE C++ Day 3 tests
Complex Number Class