Tagged: basics

0

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...

0

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...

0

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...

0

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...

0

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’...

0

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...

0

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...

0

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...

0

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 ->...

0

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...