Pembentukan Angka

Posted by Budi Arieyanto | Posted in | Posted on 02.30

#include<iostream.h>
#include<conio.h>

void main()
{
    int i,j;
   for (i=0;i<=6;i=i+2)
   {
      for (j=0;j<=i;j=j+2)
      {
          cout<< j <<" ";

      }
      cout<<endl;
   }
   getch();
}

Comments (0)

Posting Komentar