Write a program in C to calculate the roots of the quadratic equation and the nature of roots using if-else.
The nature of the roots of an equation is defined as it’s nature of containing real solutions or not.
Write a program to calculate the factorial of the given number Output Enter any number: 4Factorial of 4 is 24. Behind the scene 4*3*2*1 = 24
Write a program in C to calculate the roots of the quadratic equation and the nature of roots using if-else.
The nature of the roots of an equation is defined as it’s nature of containing real solutions or not.
Write a program in C to check whether the entered number is even or odd using the if-else statement.
Also, check even-odd using switch case and ternary operator or conditional operator.
A number is even if it is divisible by 2.
Write a program in C to check whether the entered year is a leap year or not using nested else if. You may also want …
Write a program in C to check whether the entered year is a leap year or not using nested if statement. You may also want …