Pages

Kamis, 17 Oktober 2013

WHILE Perulangan Angka Ganjil

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

void main()
{
 int ar;
 cout<<"PERULANGAN BIL GANJIL DENGAN WHILE"<<endl;
 ar=1;
 while (ar<10)
 {
 cout<<ar;
 ar+=2;
 }
 getch();
}

0 komentar:

Posting Komentar

 

(c)2009 TI Anti Pornografi. Based in Wordpress by wpthemesfree Created by Templates for Blogger