Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Calculate Shipping Cost | 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

Calculate Shipping Cost

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

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 4
toggle bottom row

Calculate Shipping Cost

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

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 4
toggle bottom row

Calculate Shipping Cost

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

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

Tudo estava claro?

Tarefa

  • Create a shipping cost calculator. The initial shipping cost is set at 10% of the product's price.
  • If the product's weight exceeds 25 pounds, an additional $2.25 is added to the shipping cost.
  • For products weighing over 25 pounds, you have to choose between three delivery options from the slowest to the fastest. Each of these options add an extra cost of $0.3, $0.5, and $1.75, respectively.
  • Calculate and display the final shipping cost for the product.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 4
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