- 1

Write a programmer in c++ to Calculate the difference 10 and 12

24th Jul 2017, 2:44 PM
Punam Dangaich
Punam Dangaich - avatar
5 Answers
+ 2
There is no programmer that achived writing a programmer
24th Jul 2017, 5:06 PM
Muhammed Faik Ekiciler
Muhammed Faik Ekiciler - avatar
+ 2
but if you want code use this int x = 10 int y = 12 if x > y{ return x - y }else{ return y - x } and you can change x and y values too
24th Jul 2017, 5:08 PM
Muhammed Faik Ekiciler
Muhammed Faik Ekiciler - avatar
+ 2
#Ruby a = 12 b = 10 puts "Difference between 10 and 12 is #{b - a}"
24th Jul 2017, 7:41 PM
LordGhostX
LordGhostX - avatar
- 1
return 2; There, solved :D
24th Jul 2017, 2:51 PM
Bogdan Sass
Bogdan Sass - avatar
- 1
However, that "write a PROGRAMMER" task might be a lot more difficult... :)
24th Jul 2017, 2:52 PM
Bogdan Sass
Bogdan Sass - avatar