T.V. NAGARAJU TECHNICAL SOLUTIONS
Pages
Home
Online Courses
Tutorials
Operating Systems
C -Excercises
Python Excercises
JAVA Exercises
Placement Papers
Lab Programs
Python Programs
check even or odd using bitwise operator
#include<stdio.h>
int main() {
int x;
scanf("%d",&x);
if(x&1)
printf("Odd number");
else
printf("Even Number");
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment