#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
-
Important Message for Computer Users During a recent visit to an optician, one of my friends ...
-
Interview Question - Visual Basic 6 Interview questions and answers for Visual basic 6 basics and advance level,VB6 In...
-
C Program to reverse a number :- This program reverse the number entered by the user and then prints the reversed number on the screen. Fo...
-
http://www.nobledesktop.com/shortcuts.html
-
Windows 7 Watch Phone Designer Mithun Darji has designed this Windows 7 Watch Phone Concept. It’s a pretty cool device, that Dick Tra...
-
Google history Google timeline Our company has packed a lot in to a relatively young li...
-
Digital Logic & Fundamentals - Model Question Papers https://rapidshare.com/files/2976264255/DLU.ppt
-
c program to add two complex numbers :- This program calculate the sum of two complex numbers which will be entered by the user and then p...
-
WELCOME TO Govt.Thirumagal Mills College, Gudiyattam The Govt Thirumagal Mills college,Gudiyatham was established with a...
-
This c program add two matrices i.e. compute the sum of two matrices and then print it. Firstly user will be asked to enter the order of m...
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