Skip to content

Converts decimal numbers to its binary equivalent

Notifications You must be signed in to change notification settings

jpanged/dec2bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a simple program that converts a decimal input into its binary number equivalent through division by 2.

How to Run

dec2bin.py is executed through the command line. The program will prompt an integer input and print the output to the console.

How it Works

The program divides the input by 2. Its remainder becomes the first binary value, either 0 or 1. This operation continues until 0 is reached.

About

Converts decimal numbers to its binary equivalent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages