Write a statement to set the value of price equal to three times the value of cost.

Write a statement to set the value of price equal to three times the value of cost.

LANGUAGE: Visual Basic

CHALLENGE:

Write a statement to set the value of price equal to three times the value of cost.  (The variables have already been declared and cost has already been initialized.)

SOLUTION:

price = 3 * cost

Add comment