RosettaCodeData/Task/Integer-comparison/FutureBasic/integer-comparison.futurebasic
2016-12-05 23:44:36 +01:00

9 lines
278 B
Text

include "ConsoleWindow"
dim as long n1, n2
input "Enter two numbers (separated by a comma) to compare: "; n1, n2
if n1 < n2 then print : print n1; " is less than"; n2
if n1 > n2 then print : print n1; " is greater than"; n2
if n1 == n2 then print : print n1; " equals"; n2