Rabu, 17 April 2013

Program Menampilkan Bilangan Genap

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

main (void)
{
int a;
a=1;
while (a<=20)
{
if(a%2==0)
cout<<" "<<a;
a++;
}
getch();
}
separador

0 komentar:

Posting Komentar

Followers