+ 1

how to get average of 2 & 3 in cpp

I try to find averge between them by (2+3)/2 but it results lesser value between them

30th Mar 2018, 3:42 AM
Suneel Paudel
Suneel Paudel - avatar
3 odpowiedzi
+ 1
Float result = (2+3)/2;
30th Mar 2018, 3:48 AM
Code Monkey
0
thank you
30th Mar 2018, 3:53 AM
Suneel Paudel
Suneel Paudel - avatar