Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Connect with a community of experts ready to provide precise solutions to your questions quickly and accurately. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

A missile system to be armed must:(have a supervisor not pressing a master button (B1), and;a chief station must press a button (B2) and;one operator must press a button (B3), or another operator must press another button (B4)) A button pressed is read as true. The user should be prompted to input the logic values (as 0 or 1) for B1, B2, B3 and B4. Present your code to solve this problem with a single IF, and a second version of your code with nested Ifs