#include <stdio.h> int main (void) { int i,j,k; for(i=1,j=0,k=1;i<8;k++) { printf("%d",k%10); j++; if(j%2==0) { printf("\n"); j=0; i++; } } system("pause"); return 0; }
The output is given below:
12 34 56 78 90 12 34
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
#include <stdio.h> int main (void) { int i,j,k; for(i=1,j=0,k=1;i<8;k++) { printf("%d",k%10); j++; if(j%2==0) { printf("\n"); j=0; i++; } } system("pause"); return 0; }
12 34 56 78 90 12 34
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment