in Education by
Express the Boolean Function, F (A, B, C) = AB + B’C’ in product of maxterm form. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: char op; float num1, num2; cout << “Enter operator: +, -, *, /: “; cin >> op; cout << “Enter two operands: “; cin >> num1 >> num2; switch(op) { case ‘+’: cout << num1 << ” + ” << num2 << ” = ” << num1 + num2; break; case ‘-‘: cout << num1 << ” – ” << num2 << ” = ” << num1 – num2; break; case ‘*’: cout << num1 << ” * ” << num2 << ” = ” << num1 * num2; break; case ‘/’: cout << num1 << ” / ” << num2 << ” = ” << num1 / num2; break; default: // If the operator is other than +, -, * or /, error message is shown cout << “Error! operator is not correct”; break; } return 0; } Output Enter operator either + or – or * or divide : – Enter two operands: 3.4 8.4 3.4 – 8.4 = -5.0 Thi Explanation: huihui hihi mode of spammy

Related questions

0 votes
    Derive a Canonical POS expression for a Boolean function F, represented by the following truth table : 1 A B C F 0 0 0 ... 1 0 1 1 1 1 Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    a) Derive a Canonical POS expression for a Boolean function F, represented by the following truth table : 1 A B C F 0 0 ... 1 0 1 1 1 1 Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    Convert the Boolean function, F(x, y, z) = ∏(0, 2, 6, 7) in sum of minterm form. Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    A. Ctrl +A B. Shift +A 11. સીમિંગમાં કોઈ પણ જેકટમાં દુનો કેસરી રંગ શું દર્શાવે છે ? A. ખોજેક્ટનું સ્થાન 3 ... ામની મદદથી D રતી મારી ના Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    C Write T for True and F for False 2. 1. The full form of GIF is Graphics Interchange Format. You can ... the current HTML document. Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    C Write T for True and F for False 2. 1. The full form of GIF is Graphics Interchange Format. You can ... the current HTML document. Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Which is a valid declaration within an interface? A)protected short stop = 23; b)final void madness(short stop); ... (double duty);? Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    11. Express the decimal format of the signed binary number (10010)2 O a) 2 b) 12 O c)-12 Co O d)-2 Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    mplemented by the circuit shown in the above right f uit diagram for expressions :dr ( a ) ( A ‘ + BC ) ( B ‘ + C’A ) Output Z Y Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    mplemented by the circuit shown in the above right f uit diagram for expressions :dr ( a ) ( A ‘ + BC ) ( B ‘ + C’A ) Output Z Y Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    which key used to a column. (a) Alt + C (b) Alt + E (c) Alt + F (d) Alt + D Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    write a program to evaluate the arithmetic statement. X=A-B+C*(D*E-F)/G+H*K a) Using a general ... zero -address operation instruction. Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    what will be the result stored in a and b after evaluating the following assume that a=-4 and b=3 a=++b-a b+=a print (a,”,”,b) Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Simplify the Boolean expression using algebraic method (A’+B)(A+B) Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Re-arrange the words to form questions; waiting/What/are/you/for? (a) What waiting for are you? (b) What ... waiting for? (d) None Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
...