Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
#include <stdio.h> int main() { int num = 56; switch(num % 2) { case 0: printf("%d is an even", num); break; case 1: printf("%d is an odd", num); break; } return 0; } /* run: 56 is an even */