- 1
Write a programmer in c++ to Calculate the difference 10 and 12
5 Answers
+ 2
There is no programmer that achived writing a programmer
+ 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
+ 2
#Ruby
a = 12
b = 10
puts "Difference between 10 and 12 is #{b - a}"
- 1
return 2;
There, solved :D
- 1
However, that "write a PROGRAMMER" task might be a lot more difficult... :)