membuat Bintang Dengan While

Posted by Budi Arieyanto | Posted in | Posted on 03.02

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

void main()
{
  int i;
  clrscr();

    i=1;
    do
    {
     cout<<"*"<<endl;
    }
     i+=1;
     while(i<5)

 getch();
}

Comments (0)

Posting Komentar