Closed harshraj8843 closed 1 year ago
@harshraj8843 I would like to work on this!
Hey @brundabharadwaj
You can comment !assign
on any good first issue
you want to contribute to, to be auto-assigned
!assign
!assign
!assign
Hey @notpx, this issue is already assigned to @brundabharadwaj !!!
Please choose another issue.
Thanks for your interest in contributing to this project.
Hey @notpx,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign
again.
Thanks for your contributions :)
!assign
!assign
Description
Write a Java program to convert octal to binary
Octal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.
Binary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.
To convert an octal number to binary, we can use the following algorithm:
How to contribute
- Save the solution in `program/ConvertOctalToBinary.java` file - Add `ConvertOctalToBinary.java` file in `convert-octal-to-binary` folder