L2-1 Exercises
Complete the following exercises on your own:
- A C program to check if a number is even or odd
- A C program to check whether or not an inputted number is negative, zero, or positive.
- A C program to check whether an inputted character is a vowel or a consonant
- A C program to find the largest number among three numbers that the user inputs
- A C program to find the quadratic root of a polynomial equation that a user enters
- A C program to check whether or not an entered year is a leap year
- A C program to check whether an inputted character is in the alphabet or not.
Check your answers using these links after completing your exercises:
- https://www.programiz.com/c-programming/examples/even-odd
- https://www.programiz.com/c-programming/examples/negative-positive-zero
- https://www.programiz.com/c-programming/examples/vowel-consonant
- https://www.programiz.com/c-programming/examples/largest-number-three
- https://www.programiz.com/c-programming/examples/quadratic-roots
- https://www.programiz.com/c-programming/examples/leap-year
- https://www.programiz.com/c-programming/examples/alphabet