#include <iostream.h>
#include <conio.h>
void main()
{
int ar;
cout<<"PERULANGAN GENAP DENGAN DO-WHILE"<<endl;
ar=0;
do
{
ar+=2;
cout<<ar;
} while (ar<10);
getch();
}
#include <conio.h>
void main()
{
int ar;
cout<<"PERULANGAN GENAP DENGAN DO-WHILE"<<endl;
ar=0;
do
{
ar+=2;
cout<<ar;
} while (ar<10);
getch();
}
22.22 |
Category:
Borland C++
|
0
komentar
Comments (0)