Techdisk (techdisk)'s status on Monday, 27-Oct-14 19:05:24 UTC
-
//This is how you even: !nolife
#include<stdio.h>
int main(void){
int x;
printf("\n This is how you \"even\":\n Please enter a number: ");
scanf("%d", &x);
while (getchar() != '\n');
if ((x & 1) == 0) {
printf(" Even.\n ");
} else {
printf(" Odd.\n ");
}
getchar();
return 0;
}Monday, 27-Oct-14 19:05:24 UTC from web