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
Posted in Learn To Code, Visual Basic