#include
main(){
int bil;
printf("Masukan bilangan = ");scanf("%d",&bil);
if(bil%2==1)
printf("Termasuk bilangan ganjil\n");
else
if(bil==0)
printf("inputan 0\n");
else
printf("Termasuk bilangan genap\n");
getch();
}
No comments:
Post a Comment