#include<stdio.h> main() { int n; printf("Enter an integer\n"); scanf("%d",&n); if ( (n/2)*2 == n ) printf("Even\n"); else printf("Odd\n"); return 0; }
Popular Posts
-
Interview Question - Active Server Pages (ASP) Interview questions and answers for Active server pages (...
-
http://www.creativetechs.com/tips/tip_resources/PSCS2_Shortcuts_Windows.pdf
-
Debugging C and C++ programs Debug Tool commands that resemble C and C++ commands Debug Tool's command language is a subset of C a...
-
WELCOME TO Govt.Thirumagal Mills College, Gudiyattam The Govt Thirumagal Mills college,Gudiyatham was established with a...
Tuesday, 28 February 2012
c program to check odd or even
Labels:
Model c programs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment