Rejecting binary values longer than 32 bits
-actually you did not meet that condition in your program.
since you parse your input to integer, therefore the program treated the input as integer of base 10 (decimal) not base 2(binary)
I think it will be better if you just store it in string, then check if the input's length is less than or equal
to 32 (cause you want 32 bits) and then convert it to decimal.
(you just have to analyze the pattern of converting binary to decimal)
Prompting the user to make multiple entries after completing the binary to decimal conversion of their first entry.
you must put the statements that's getting the user's input in a loop.
with a condition that will terminate it if the user wants.