RosettaCodeData/Task/Integer-comparison/Mathematica/integer-comparison.math

6 lines
189 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
a=Input["Give me the value for a please!"];
b=Input["Give me the value for b please!"];
If[a==b,Print["a equals b"]]
If[a>b,Print["a is bigger than b"]]
If[a<b,Print["b is bigger than a"]]