The belief that complex systems require armies of designers and programmers is wrong. A system that is not understood in its entirety, or at least to a significant degree of detail by a single individual, should probably not be built. Niklaus Wirth

MyDecimalToBinary

Language Java | Level Intermediate | Category Data structure | August 30, 2015 2:02 pm


Data structure Description

A Binary Digit can be 0 or 1. A Binary Number made up Binary Digits.

Write a program to convert the Decimal number to binary using stack. Get decimal input and print the Binary numbers


Output

   					 

Binary value of 2 is: 10
Binary value of 15 is: 1111
Binary value of 23 is: 10111

				    

Comments


No comments available!

Please login to add comments.