Penggunaan For Bersarang

Posted by Budi Arieyanto | Posted in | Posted on 04.23

#include<stdio.h>
#include<conio.h>

main()
{
  int a, b;
  clrscr();

    for(a=5; a>=1; a--)
    {
     printf("\n");
     for(b=a; b<=5; b++)
     printf("%d",b);
     }

 getch();
 }

Comments (0)

Posting Komentar