Given an int variable grossPay, write an expression that evaluates to true if and only if the value of grossPay is less than 10,000.

LANGUAGE: JAVA

CHALLENGE:
Given an int variable grossPay, write an expression that evaluates to true if and only if the value of grossPay is less than 10,000.

SOLUTION:

LANGUAGE: JAVA

CHALLENGE:
Given an int variable grossPay, write an expression that evaluates to true if and only if the value of grossPay is less than 10,000.

SOLUTION:

grossPay < 10000

Posted in ,