#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int i;
cout << "bilangan ganjil 1-10" <<endl;
cin>>i;
for ( i = 0; i<10; i++){
if (i%2==1){
cout<<i<<endl;
}
}
system("PAUSE");
return EXIT_SUCCESS;
}
raptornya :
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar