| Visual Basic Writing Assignment Statements Worksheet #1 |
Name - |
1. Write an assignment statement that computes the sum of apples and oranges and that assigns that sum to the variable fruit.
2. Write an assignment statement that computes the product of price and quantity and that stores that result into the variable amount.
3. Write a statement that computes the average of game1, game2, and game3 and stores that value into the variable average.
4. Write a statement that multiplies 6 times the difference between age and yearsLeft and that stores that value to the variable answer.