| Visual Basic Writing Assignment Statements #3 |
Name - |
1. Write a statement that computes the sum of num1, num2, and num3 and that assigns that sum to the variable total.
2. Write a statement that computes the product of price and quantity minus a 20% discount and that stores that result into the variable totalPrice.
3. Write a statement that computes the average of grade1, grade2, and grade3 and stores that value into the variable gradePercentage.
4. Write a statement that concatenates the variables firstName and lastName together with a blank space (not a blank line) embedded between them and then assigns that resulting string value to the variable wholeName.
5. Write a statement that assigns the empty string to a variable named nothing.