Write a C Program to find whether the entered number is even, odd. by dipak · December 10, 2023 Write a C Program to find whether the entered number is even, odd . #include<stdio.h> #include<conio.h> void main() { int a; clrscr(); printf(“Enter a number:”); scanf(“%d”,&a); printf(“%d”,a%2==0); // 1->the no. is even, 0->odd getch(); } Output:
0 Write a C Program to find a Perimeter of Rectangle May 27, 2023 by dipak · Published May 27, 2023 · Last modified May 29, 2023
0 Write a C Program to find the entered character is vowel or consonant. December 2, 2023 by dipak · Published December 2, 2023