Posted in: C Language

C Program to print sum of first and last digit of number.

In this C program we have to print sum of first and last digit of the inputted number by the user. Example- INPUT Input number – 1234 OUTPUT Output – 5 Table of contents:- Concept Algorithm Program Output Resource Before writing this C program, lets learn about the concept we are gonna use in our […]

Posted in: C Language

C Program to reverse number and compare(with Algorithm)

In this C program, we will reverse a five-digit number inputted by the user and check whether the original and reversed numbers are equal or not. We will first take input value by the user and reverse the inputted number. Then we will determine whether the original and reversed number is equal or not. Table […]

Posted in: C Language

C Program to Convert Temperature Celsius to Fahrenheit

In this c program, we will convert temperature input by the user in celsius to Fahrenheit. We will also write the algorithm of the c program to convert temperature from Celsius to Fahrenheit. We will first find out the basic mathematics formulas and solutions to the problem. After finding out the formula and solution to our problem, we will write […]