#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int bil;
cout<<"Masukkan bilangan bulat : ";
cin>>bil;
if (bil%2==0)
cout<<"Bilangan GENAP\n";
else
cout<<"Bilangan GANJIL\n";
system("PAUSE");
return EXIT_SUCCESS;
}
output program
0 comments:
Posting Komentar