Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
FunTemp
Anagrams
decode
function pointer overload
ContainerVector2
Aplicatie-Proiect
ASHA
Reverse factorial
CodeChef P1 MATMIN1
Wygner aprendizado
Please log in to post a comment.