10. Logical expressions

Let’s see an example:

Activity: CodeLens 10.1 (cl_l05_10a_en)

10.1. Example

  • The conditions for granting a motorcycle purchase loan are: having a salary greater than $1,000.00 and being over 18 years old. Check if José can get the loan:

Activity: CodeLens 10.1.1 (cl_l05_10b_en)

10.2. Example

  • Check if a student passed given that they obtained an average score of 5.8 in the exercise program and obtained an average score of 7 in the tests:

Activity: CodeLens 10.2.1 (cl_l05_10c_en)

You have attempted of activities on this page