use rational Operators by writing the following expression. Declare any variables you may need.
1. is Jan's age 25 years old or older
2. is his account less 25 dollars
3. Are they the same age
4 Are they More than 4 assignments (always)
5. Did finish 3 or fewer assignments
6. Are they different ages?
1. Let us take Jan's age is 'X'. This expression using
relational operator can be wriiten as "X>=25 Years"
2. Let us take 'his account' as 'X'. This expression using
relational operator can be wriiten as "X<25 dollars"
3. Let us take one person age as 'X' and other person age as 'Y'.
This expression using relational operator can be wriiten as
"X==Y"
4 Let us take number of assignments finished by them as 'X'. This
expression using relational operator can be wriiten as
"X>4"
5. Let us take number of assignents finished as 'X'. This
expression using relational operator can be wriiten as
"X<=3"
6. Let us take one person age as 'X' and other person age as 'Y'.
This expression using relational operator can be wriiten as
"X/=Y" (X not equals to Y)
Get Answers For Free
Most questions answered within 1 hours.