C++ Conditional Statements

ParallelogramParallelogram

Task

You have four integer values a, b, c and d, which represent the lengths of lines, determine if it is possible to create a parallelogram using these lines.

  1. Output YES, if it is possible.
  2. Output NO, if it is not possible.

Everything was clear?

Section 2. Chapter 1
toggle bottom row