## Temperature Conversion Program in C

There are many ways to measure temperature, but the three most common units of temperature measurement are Kelvin, Celsius, and Fahrenheit. Fahrenheit is a unit to measure the temperature on Fahrenheit scale. It is expressed in °F (degree Fahrenheit). On the Fahrenheit scale, the freezing point and boiling point of water are defined as 32° … Read more

## C program to Convert Fahrenheit to Celsius

Problem Description Write a C program that takes a fahrenheit value as input and convert it to a celsius value. What is Fahrenheit and Fahrenheit scale? Fahrenheit is a unit to measure the temperature on Fahrenheit scale. It is expressed in °F (degree Fahrenheit). On the Fahrenheit scale, the freezing point and boiling point of … Read more

## C Program to Convert Celsius to Fahrenheit

Problem Description Write a C program that takes a celsius value as input and convert it to a fahrenheit value. What is Celsius? Celsius is a unit used to measure the temperature on Celsius scale. It was developed by Swedish astronomer Anders Celsius and is often denoted by °C(degree Celsius). What is Celsius scale in … Read more

## C Program to Convert Roman Number to Decimal Number

This is a C Program to Convert Roman Number to Decimal Number. Problem Description This program takes a roman number as input and converts it to decimal number. Problem Solution 1. Take a roman number as input. 2. Using switch statement define the value of each roman digit. 3. Through switch statement access each digit … Read more

## C Program to Convert Octal to Binary

This is a C program to Convert Octal to Binary. Problem Description This program takes a octal number as input and converts it into binary. Problem Solution 1. Take a octal number as input. 2. Print the binary value of each digit of a octal number. Use switch statement and while loop to do this. … Read more

## C Program to Convert Binary to Gray Code using Recursion

This is a C program to convert binary code of a number into its equivalent gray’s code using recursion. Problem Description This C program using recursion evaluates the gray code equivalent of a binary number. Problem Solution A gray is also represented using 0s and 1s. The speciality of gray code is that only one … Read more

## Decimal to Binary in C

Decimal Numbers: Decimal numbers are the numbers in the decimal system. They are represented by the digits 0 to 9. For example, the number 123 is represented by the digits 1, 2, and 3. The number 0 is represented by the digit 0. The number 123456789 is represented by the digits 1, 2, 3, 4, … Read more

## C Program to Convert Octal to Decimal

This is a C program to convert octal number to decimal. Problem Description This program takes a octal number as input and converts it into decimal number. Problem Solution 1. Take a octal number as input. 2. Multiply each digits of the octal number starting from the last with the powers of 8 respectively. 3. … Read more

## C Program to Convert Binary to Gray Code without Recursion

This is a C program to convert binary code of a number into its equivalent gray’s code without using recursion. Problem Description This C program, using iteration, evaluates the gray code equivalent of a binary number. Problem Solution A gray is also represented using 0s and 1s. The speciality of gray code is that only … Read more 