Parallelogram
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 1
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 7.69
Parallelogram
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 7.69Seksjon 2. Kapittel 1
single