Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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