91.3k views
0 votes
Ask the user to enter a number. Display whether the number is odd or even. computer science answers

Can you please give me the answers like how you can write it in a python program

User Eric Olson
by
5.2k points

1 Answer

3 votes

Answer:

Write a C program to check whether a number is even or odd using if else. How to check whether a number is even or odd using if else in C program. C Program to input a number from user and check whether the given number is even or odd. Logic to check even and odd number using if...else in C programming.

Step-by-step explanation:

User Sitian Liu
by
5.1k points