JirR02 b9d258de44 Exercise 2
Added Exercise 2 to repository
2025-03-01 13:38:33 +01:00
..
2025-03-01 13:38:33 +01:00
2025-03-01 13:38:33 +01:00

Task 1

This task is a text based task. You do not need to write any program/C++ file: the answer should be written in solutions.txt according to the indicated format. Lines that start with "#" are interpreted as comments. You can run the autograder to check correctness.

Task

Which of the following expressions evaluate to true, which to false?

  1. 3 >= 3
  2. true || false && false
  3. (true || false) && false
  4. 3 > (1 < true)
  5. 8 > 4 > 2 > 1
  6. 2 < a < 4 (a is a variable of type int)