Rabu, 22 Februari 2012

Logical Expression

1. Construct a logical expression to represent each of the following conditions:
a. n is between 0 and 7 but not equal to 3;
b. n is between 0 and 7 but not even;
c. n is divisible by 3 but not by 30;

2. Construct a logical expression to represent each of the following conditions:
a. score is greater than or equal to 80 but less than 90;
b. answer is either ‘N’ or ‘n’;
c. n is even but not 8;


Solve the answer, and please email the answer to me at aminahpolimas@yahoo.com.
Or you may post your answer in comments.
Good Luck!!

Tiada ulasan:

Catat Ulasan