You were just hired for a summer internship with one Atlanta\'s best software co
ID: 3551019 • Letter: Y
Question
You were just hired for a summer internship with one Atlanta's best software companies; however, on your first day of work you learn that for the next 3 months, the only job you will have is to convert binary (base 2) numbers into decimal numbers (base 10). You decide to write a script that will repetitively ask the user for a binary number and return its decimal equivalent until an illegal number (one containing digits other than 0 or 1) is entered. The number entered should contain only the digits 0 and 1. The rightmost digit has the value 2