Question: Assignment 1-1 Write a Java program that prompts the user for and accepts as input two 4-digit integer values that represent binary numbers. Your program

Assignment 1-1 Write a Java program that prompts the user for and accepts as input two 4-digit integer values that represent binary numbers. Your program should perform (simulate) binary addition of the two values, and then output the result. For example: if the user inputs "0101" (the value "5" in binary) for the first binary number and "0001" (the value "1" in binary) for the second binary number, your program should simulate the addition of those values and output "0110" ("6" in binary). As another example, if the user inputs "0110" ("6" in binary) for the first binary number and "0100" ("4" in binary) for the second binary number, your program should simulate the addition of those values and output "1010" ("10" in binary). Make sure your program prompts the user for input with appropriate descriptive messages, and also provides an appropriate message to describe its output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
