You are given two variables, already declared and assigned values, one of type double, named price, containing the price of an order, and the other of type int, named totalNumber, containing the number of orders.

You are given two variables, already declared and assigned values, one of type double, named price, containing the price of an order, and the other of type int, named totalNumber, containing the number of orders.

LANGUAGE: Visual Basic

CHALLENGE:

You are given two variables, already declared and assigned values, one of type double, named price, containing the price of an order, and the other of type int, named totalNumber, containing the number of orders.  Write an expression that calculates the total price for all orders.

SOLUTION:

price * totalNumber

Add comment