3) Next, you need variables for the subtotal, sales tax amount, and total cost.
ID: 3821860 • Letter: 3
Question
3) Next, you need variables for the subtotal, sales tax amount, and total cost. These should be Double types, because they will contain decimal amounts. These are called floating-point variables. For example, if there were a delivery charge based on the subtotal, a variable for that charge could look like this: Dim dblDeliveryCharge as Double Now, write statements declaring floating-point variables for: The subtotal for the order: [type your answer here] The amount of sales tax: [type your answer here] The total cost of the order: [type your answer here]
Explanation / Answer
Now, First of statements declaring integer variables for :-
Let us assume we ordered for dogs, then
Now, statements declaring floating-point variables for :-
Now, statements that will compute the correct values for :-
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.