C Program to Check if the Number is Positive or Negative
Write a C program to find that the accepted number is Positive, Negative or Zero.
Continue readingC program to convert seconds into hours, minutes and seconds
Write a C program to accept number of seconds and display its corresponding hours, minutes and seconds.
Continue readingC Program – Find Area and Perimeter of Square and Rectangle
C Program to find the Area and Perimeter of Square and Rectangle. Input the side(s) through the keyboard.
Continue readingC program to find maximum among 3 numbers using nested if
Write a C program to accept 3 numbers from the user. Find maximum among 3 numbers using nested-if statement.
Continue readingC Program – Check if Person is eligible for Blood Donation
C program to check if the blood donor is eligible or not for blood donation. Age should be (>18 but <56) and weight should be more than 45.
Continue readingConvert Integer into Octal and Hexadecimal formats
Write a C program that accepts an integer and displays that value in octal and hexadecimal formats.
Continue readingC Program to find the average temperature of five sunny days
Write a C program to find the average temperature of five sunny days. Assume the temperature in Celsius.
Continue readingC Program to Swap Two Numbers
Write a program to store and interchange/swap two numbers in variables a and b.
Continue reading