Skip to content

CodeAndCourse

  • HTML
  • PHP
  • MySQL

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

WAP in C to check whether the entered year is leap year or not using nested 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 if statement. You may also want to read: Check leap year without using nested if. A year called a leap year, if that year is divisible by 4 but not 100 and also if that year …

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

WAP to convert weight from kg to pound

May 28, 2020November 30, 2019

Write a program that requests a user to enter weight in kg in c programming. The program converts it in pounds (pound = 2.2*kg).

Read moreWAP to convert weight from kg to pound

WAP to calculate the area of a triangle

May 28, 2020November 30, 2019

Write a program to calculate the area of a triangle with sides a, b, and c.

Read moreWAP to calculate the area of a triangle

Post navigation
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page6 Next →

Ads

Ads

  • Privacy Policy
© 2021 Code And Course