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

Kursinnhold

C++ Conditional Statements

C++ Conditional Statements

1. Introduction to Conditional Statements
2. Conditional Control Flow Practice
3. Advanced Topics

book
Parallelogram

Oppgave

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

cpp

solution

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 1
toggle bottom row

book
Parallelogram

Oppgave

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

cpp

solution

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 1
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt