Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Parallelogram | Conditional Control Flow Practice
C++ Conditional Statements

bookParallelogram

Uppgift

Swipe to start coding

You have four integer values a, b, c and d, which represent the lengths of lines.

  1. Determine if it is possible to create a parallelogram using these lines.
  2. Output in the console:
    • YES, if it is possible;
    • NO, if it is not possible.

Lösning

solution.cpp

solution.cpp

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 1
single

single

Fråga AI

expand

Fråga AI

ChatGPT

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

close

Awesome!

Completion rate improved to 7.69

bookParallelogram

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.

  1. Determine if it is possible to create a parallelogram using these lines.
  2. Output in the console:
    • YES, if it is possible;
    • NO, if it is not possible.

Lösning

solution.cpp

solution.cpp

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

close

Awesome!

Completion rate improved to 7.69
Avsnitt 2. Kapitel 1
single

single

some-alt