| Visual Basic Writing Assignment Statements #3 |
Name - |
1. Write a statement that computes the sum of intNum1, intNum2, and intNum3 and that assigns that sum to the variable intTotal.
2. Write a statement that computes the product of dblPrice and intQuantity minus a 20% discount and that stores that result into the variable dblTotalPrice.
3. Write a statement that computes the average of intGrade1, intGrade2, and intGrade3 and stores that value into the variable dblGradePercentage.
4. Write a statement that concatenates the variables strFirstName and strLastName together with a blank space (not a blank line) embedded between them and then assigns that resulting string value to the variable strWholeName.
5. Write a statement that assigns the empty string to a variable named strNothing.