Create a program of number conversion.

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

Create a program of number conversion.

 

example below.

I C:\Users\User\Downloads\PLATE 2.exe
O X
[1] DECIMALS
[2] BINARY
[3] OCTAL
[4] HEXA
Select the number that needs to be converted: 1
YOU HAVE SELECTED (DECIMALS)
[1] DECIMAL - BINARY
[2] DECIMAL - OCTAL
[3] DECIMAL - HEXA
SELECT THE CONVERSION YOU WANT: 1
You have selected DECIMAL - BINARY
Enter the number you want to convert: 23
The BINARY of the given number is: 10111
Process exited after 3.694 seconds with return value e
Press any key to continue
Transcribed Image Text:I C:\Users\User\Downloads\PLATE 2.exe O X [1] DECIMALS [2] BINARY [3] OCTAL [4] HEXA Select the number that needs to be converted: 1 YOU HAVE SELECTED (DECIMALS) [1] DECIMAL - BINARY [2] DECIMAL - OCTAL [3] DECIMAL - HEXA SELECT THE CONVERSION YOU WANT: 1 You have selected DECIMAL - BINARY Enter the number you want to convert: 23 The BINARY of the given number is: 10111 Process exited after 3.694 seconds with return value e Press any key to continue
Expert Solution
steps

Step by step

Solved in 2 steps with 7 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT