Question: Subtract One Max. score: 150 Given a binary number, subtract 1 from it and print your answer in binary form. Note :- The given binary

Subtract One Max. score: 150 Given a binary number, subtract 1 from it and print your answer in binary form. Note :- The given binary number always starts with 1. So your output should also start with 1. Constraints :- 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
