BASIC C PROGRAMMING AND TRICKS-TECHNOLOGIES-TECHNICALS
program to find even or odd number
Get link
Facebook
X
Pinterest
Email
Other Apps
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter a value which you want to check=");
scanf("%d",&a);
if(a%2==0)
{
printf("a is even");
}
else
{
printf("a is odd");
}
getch();
}
***********************HOW TO FORMAT A PENDRIVE******************** 1. first pluged in pendrive in pc. 2.right click on device. 3. Then open this list menu ⇣ 4. select "FORMAT" option ↩ 5. now open this bar and select "START" ↩ 6. Within 10-15 second pendrive is formatted sucessfully..!! ***********************************************************************************
Comments
Post a Comment