Answer to Question #188874 in C++ for ayla

Question #188874

give value in the expression of c++


a) 12 % 27

b) 27 + 4 / 3


1
Expert's answer
2021-05-06T06:11:17-0400

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS