Course Content

C++ Conditional Statements

## C++ Conditional Statements

# Parallelogram

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

Everything was clear?

# Parallelogram

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

Everything was clear?

# Parallelogram

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.

Everything was clear?

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.
- Output in the console:
`YES`

,*if*it**is**possible;`NO`

,*if*it**is not**possible.