Kursusindhold
C++ Conditional Statements
C++ Conditional Statements
1. Introduction to Conditional Statements
2. Conditional Control Flow Practice
3. Advanced Topics
Parallelogram
Opgave
Swipe to start coding
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.
Løsning
solution
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 1
Parallelogram
Opgave
Swipe to start coding
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.
Løsning
solution
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 1