Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter. Eric S. Raymond

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.