Question: 3) Write a program in C to check a given number is even or odd using the function. #include int checkOddEven(int n1)( /l write your

 3) Write a program in C to check a given number

3) Write a program in C to check a given number is even or odd using the function. #include int checkOddEven(int n1)( /l write your implementation herelLy Jebum CrunYa)i int mainO( int n1; printf("Input any number scanf("%d", &n1); "); if(checkOddEven(n1) 1) printf("The entered number is odd.Inln"); Jelse( printf("The entered number is even.Inln"); return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!