Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

import Foundation

var num1:Int = 72
var num2:Int = 19

if (num1 < num2 && num2 > num1) {


print("The first number is less than the second number")
}
else if (num1 > num2 && num 2 < num1) {
print("The first number is greater than the greater number")
}
else if (num1 == num2)
print("The two numbers are equal")
}
else{
print('There is something wrong")
}

You might also like