LAB RECORD PROGRAM NO -3 Get link Facebook X Pinterest Email Other Apps November 27, 2022 3.Write a C Program to check whether a given number is even or odd. #include<stdio.h> #include <conio.h>void main() { int n; printf("Enter an integer\n"); scanf("%d", &n); if (n%2 == 0) printf("\nGiven Number %d is an Even Number.",n); else printf("\nGiven Number %d is an Odd Number.",n "); getch(); } Get link Facebook X Pinterest Email Other Apps Comments
PPS UNIT 2 Notes December 23, 2022 PPS Unit 2 Notes complete https://drive.google.com/file/d/1hM43NMdIz1sfFixcIlTzz0S1OXxL8CRm/view?usp=share_link Read more
Comments
Post a Comment