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 […]

Posted in: C Language

C Program to convert distance in meters, feet, inches, and centimeters

In this c program, we will convert distance input by the user in meters, feet, inches, and centimeters. We will also write the algorithm of c program to convert distance in meters, feet, inches, and centimeters. We will firstly breakdown the problem and write an algorithm, then after that, we will write the c program […]

Posted in: C Language

C Program to Print Transpose of Matrix using Array

For writing this program you need to have knowledge in order to write a program that can transpose a given matrix using Array: Double Dimensional Array(2-D Array) Nested Loop Meaning of Transpose : In Matrices, Transpose means to interchange the elements of a matrix. Algorithm : START Read value of the array using Nested loop […]