+ 1

# Math

in cpp How do i create a+(b * c) i mean b * c then a + result of b * c

2 Answers

+ 2

Somthing like this?
int a=0,b=10,c=10;
a = b*c; // a now = 100
a+=b; // a now = 110

+ 1

Yes thanks just figure it out

+ 1

in cpp How do i create a+(b * c) i mean b * c then a + result of b * c

2 Answers

+ 2

Somthing like this?
int a=0,b=10,c=10;
a = b*c; // a now = 100
a+=b; // a now = 110

+ 1

Yes thanks just figure it out