Skip to content

CodeAndCourse

  • HTML
  • PHP
  • MySQL

c programming

WAP in C to calculate the roots of quadratic equation and their nature using if else

May 28, 2020March 23, 2020

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.

Read moreWAP in C to calculate the roots of quadratic equation and their nature using if else

WAP in C to check whether the number is even or odd using ternary operator

May 28, 2020March 23, 2020

Write a program in C to check whether the entered number is even or odd using a ternary operator.

Also, check even-odd using the if-else and switch case.

A number is even if it is divisible by 2.

Read moreWAP in C to check whether the number is even or odd using ternary operator

WAP in C to check whether the number is even or odd using switch case

May 28, 2020March 23, 2020

Write a program in C to check whether the entered number is even or odd using the switch case.

Also, check even-odd using the if-else and ternary operator or conditional operator.

A number is even if it is divisible by 2.

Read moreWAP in C to check whether the number is even or odd using switch case

WAP in C to check whether the number is even or odd using if else

May 28, 2020March 23, 2020

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.

Read moreWAP in C to check whether the number is even or odd using if else

WAP in C to check whether the entered year is leap year or not using else if

May 28, 2020March 23, 2020

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 to read: Check leap year using nested if. A year called a leap year, if that year is divisible by 4 but not 100 and also if that year is …

Read moreWAP in C to check whether the entered year is leap year or not using else if

Post navigation
Older posts
Page1 Page2 Page3 Next →

Ads

Ads

  • Privacy Policy
© 2021 Code And Course