Tagged: programming

Hexadecimal to Decimal Conversion

“Hexadecimal to Decimal Conversion” is one of the classic programming problem exercise. Here, we are given a hexadecimal number, entered by user and our task is to write a program to convert the hexadecimal number to its equivalent decimal number. Hexadecimal Numbers uses 16 values to represent the number. Numbers from 0-9...

Hexadecimal to Octal Conversion

“Hexadecimal to Octal Conversion” is a one of the classic programming problem exercise. Here, we are given a hexadecimal number, entered by user and our task is to write a program to convert the given hexadecimal number to its equivalent octal number. Example (Hexadecimal to Octal Conversion): HEXADECIMAL = 32A...

Hexadecimal to Binary Conversion

“Hexadecimal to Binary Conversion” is one of the classic programming problem exercise. Here, we are given a hexadecimal number, entered by user and our task is to write a program to convert the given hexadecimal number to its equivalent binary number. Example: Hexadecimal Number: 32A Binary Number: 1100101010 The steps...

blank

Octal to Hexadecimal Conversion

“Octal to Hexadecimal Conversion” is one of the classic programming problem exercise. Here, we are given an octal number, entered by user and our task is to write a program to convert the following octal number to its equivalent hexadecimal number. Example (Octal to Hexadecimal Conversion):  OCTAL = 1452 HEXADECIMAL...

blank

Octal to Decimal Conversion

“Octal to Decimal Conversion” is one of the classic programming problem exercise. Here, we are given an Octal Number, entered by user and our task is to write a program to convert the given Octal number to its equivalent Decimal Number. Formula(Octal to Decimal Conversion):  Let Octal number have ‘n’...

blank

Octal to Binary Conversion

“Octal to Binary Conversion” is one of the classic programming problem exercise for beginners. Here, we are given an octal number, entered by user and our task is to write a program to convert the given octal number to its equivalent binary number.  Example: Octal = 65 Binary = 110101...

blank

Decimal to Hexadecimal Conversion

“Decimal to Hexadecimal Conversion” is a one of the classic programming problem exercise for beginners. Here, we are given a Decimal Number, entered by user and our task is to write a program to convert the given Decimal Number to its equivalent Hexadecimal Number. Hexadecimal Numbers uses 16 values to...

blank

Decimal to Octal Conversion

“Decimal to Octal Conversion” is one of the classic programming problem exercise. Here, we are given a decimal number, entered by user and our task is to convert the given decimal number to its equivalent octal number. Example (Decimal to Octal Conversion): 88 -> 130 78 -> 116 The steps...

blank

Decimal to Binary Conversion

“Decimal to Binary Conversion” is one of the classic programming problem exercise for beginners. Here, we are given a decimal number, entered by user and our task is to write a program to convert the given decimal number to its equivalent binary number. Example (Decimal to Binary Conversion): 7 ->...

blank

Binary to Hexadecimal Conversion

“Binary to Hexadecimal Conversion” is one of the classic programming exercise problem. Here, we are given a Binary Number, entered by user and our task is to write a program to convert the given binary number to its equivalent hexadecimal number. Example (Binary to Hexadecimal Conversion): Binary = 100011011 Hexadecimal...