RosettaCodeData/Task/Integer-comparison/FutureBasic/integer-comparison.futurebasic

10 lines
278 B
Plaintext

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