+ 1

Math

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

25th Jan 2019, 9:25 AM
Kaiser Razer Van Zeng Beelzebub
Kaiser Razer Van Zeng Beelzebub - avatar
2 Respostas
+ 2
Somthing like this? int a=0,b=10,c=10; a = b*c; // a now = 100 a+=b; // a now = 110
25th Jan 2019, 10:17 AM
D_Stark
D_Stark - avatar
+ 1
Yes thanks just figure it out
25th Jan 2019, 10:30 AM
Kaiser Razer Van Zeng Beelzebub
Kaiser Razer Van Zeng Beelzebub - avatar