#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
-
Palindrome number in c: A palindrome number is a number such that if we reverse it, it will not change. For example some palindrome numbers...
-
Interview Question - Visual Basic 6 Interview questions and answers for Visual basic 6 basics and advance level,VB6 In...
-
Important Message for Computer Users During a recent visit to an optician, one of my friends ...
-
IT Interview Question and Answer This is the collection of Interview Question and Answers, I have collected form...
-
College Logo The college logo consists of Lamp and book on the top of the emblem. In the middle,temple tower between two elephants.At the...
-
C program for binary search: This code implements binary search in c language. It can only be used for sorted arrays, but it's fast as ...
-
WELCOME TO Govt.Thirumagal Mills College, Gudiyattam The Govt Thirumagal Mills college,Gudiyatham was established with a...
-
10. L&T Infotech L&T Infotech is a global IT services and solutions provider. It is a subsidiary company of is Larsen & ...
-
https://docs.google.com/viewer?a=v&q=cache:LW0mTQdjT7YJ:www.microagecs.com/apps/training/courseware/excel.pdf+microsoft+excel+shortcuts+...
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