C++ Program to Convert Binary to Hexadecimal

This is a C++ Program to Convert a Binary Number to its Hexadecimal Equivalent. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the combination of 0 … Read more

C++ Program to Convert Binary to Octal

In this tutorial, we will write a C++ program to convert a binary number into octal using while loop. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They … Read more

C++ Program to Convert Octal to Binary

In this tutorial, we will write a program to convert an octal number into binary in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the … Read more

C++ Program to Convert Hexadecimal to Decimal

This is a C++ Program to Convert a Hexadecimal Number to its decimal Equivalent. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop C++ if..elseif Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However … Read more

C++ Program to Convert Decimal to Hexadecimal

This is a C++ Program to Convert a Decimal Number to its HexaDecimal Equivalent. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However after 9 … Read more

C++ Program to Convert Decimal to Octal Number

In this tutorial, we will write a program to convert decimal to octal in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Octal number The octal numbers are the numbers with base 8 and use the digits 0 to 7. Example: 8 in decimal is … Read more

C++ Program to Convert Octal to Decimal

In this tutorial, we will write a program to convert octal numbers into decimal numbers in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Octal number The octal numbers are the numbers with base 8 and use the digits 0 to 7. Example: 8 in … Read more

C++ Program to Convert Binary to Decimal

In this tutorial, we will write a program to convert a binary number into decimal in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the … Read more

C++ Program to Convert Decimal to Binary

In this tutorial, we will learn to convert a decimal number into binary in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ for loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the combination of … Read more

C++ Program to Convert Fahrenheit to Celsius

In this tutorial, we will learn the conversion of a temperature from Fahrenheit to Celsius (or Centigrade) in C++. Let us start by understanding the formula for the conversion of Fahrenheit into Celsius. Fahrenheit and Celsius, both are the unit for measuring the temperature. Fahrenheit is represented by oF and Celsius by oC. Formula to … Read more