Question: 1.00 Q2. c) In Bitwise operator, Given A = 60 and B = 12 in binary format. Find the value of A&B A=0011 1100 (60)
1.00 Q2. c) In Bitwise operator, Given A = 60 and B = 12 in binary format. Find the value of A&B A=0011 1100 (60) B=0000 1100 (12) A & B = Q2. d) Write a complete program that accepts a number for the integer variable X and will display one of the following corresponding messages: 2.50 a) VOLTS, if 1 is entered b) OHMS, if 2 is entered c) AMPERES, if 3 is entered d) ERROR, if any other value is entered
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
