#include<stdio.h> int main() { int a=0; for(int j=0;j<6;j++) { for (int i=0;i<=j;i++) { a++; if(a==10) { a=0; } printf("%d ",a); } printf("\n"); } return 0; }
Subscribe in a reader
Through the contact form
0 comments:
Post a Comment