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

Conteúdo do Curso

C++ Conditional Statements

C++ Conditional Statements

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

Parallelogram

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 1
toggle bottom row

Parallelogram

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 1
toggle bottom row

Parallelogram

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 1
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt