Skip to content

CodeAndCourse

CodeAndCourse
  • Tutorial
  • Programming
    • C
    • C++

programming

General programming category

C program to check even or odd via if-else

March 31, 2022March 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 more

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

September 1, 2021March 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 …

Read more

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

September 1, 2021March 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 …

Read more

WAP to convert weight from kg to pound

March 31, 2022November 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 more

WAP to calculate the area of a triangle

March 31, 2022November 30, 2019

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

Read more

Post navigation
Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 Next →

Ads

Ads

  • Privacy Policy
© 2022 Code And Course