Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have a few questions: 1.) What is the value of the following expression? (-2 +

ID: 3615136 • Letter: I

Question

I have a few questions:
1.) What is the value of the following expression?
(-2 +(12% (3 + 8/3 ) ) + 7/8) * 6 would Ijust solve that normally?

2.) Write a function that is passed three parameters andreturns the square of the product of those three values.

3.) What is the following output of the code segment:
int x=2; int y=3; int z=4; if ( ( x<y - 1) | | (z , x + y) )    if (x * y < z + y)    cout << "one";    else    cout << "two";    else    cout<< "three";

thanks!!
1.) What is the value of the following expression?
(-2 +(12% (3 + 8/3 ) ) + 7/8) * 6 would Ijust solve that normally?

2.) Write a function that is passed three parameters andreturns the square of the product of those three values.

3.) What is the following output of the code segment:
int x=2; int y=3; int z=4; if ( ( x<y - 1) | | (z , x + y) )    if (x * y < z + y)    cout << "one";    else    cout << "two";    else    cout<< "three";

thanks!!

Explanation / Answer

A) Solve it normally using BEDMAS (Basic arithmatic operaterpriority) and then remember that modulus (%) will return theremainder of the division process. The answer is -9.125   assuming the 12%(3+8/3) =12%(17/3)=12*(2/3) public static float squareInts(float a, float b, float c) {    float square=a*b*c;    square=square * square;    return square; } //Note you could use double instead of float c) I put your code into CodeBlocks, added the required bitsto compile. The outcome: one