Parallelogram
Uppgift
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.cpp
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 1
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 7.69
Parallelogram
Svep för att visa menyn
Uppgift
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.cpp
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 7.69Avsnitt 2. Kapitel 1
single