Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 262 Bytes

File metadata and controls

14 lines (9 loc) · 262 Bytes

Q Java Program for Decimal to Binary Conversion

Given a decimal number as input, we need to write a program to convert the given decimal number into equivalent binary number.

Examples:

Input : 7 Output : 111

Input : 10 Output : 1010

Input: 33 Output: 100001