Question #188874

give value in the expression of c++


a) 12 % 27

b) 27 + 4 / 3


Expert's answer

answer

a)12

b)28


#include <iostream>


using namespace std;


int main()
{
    float a , b;
    a=12%27;
    b=27+4/3;
    cout<<a<<" "<<b;
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS