logo

Crowdly

Write a subroutine named “TaxCalculator” to: (A) Ask the user for the unit p...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

Write a subroutine named “TaxCalculator” to:

(A) Ask the user for the unit price of a product, the

quantity purchased (which must be a whole amount, such as 5, 12, 30), the tax

rate (as a percentage, taking values from 0 to 100) with an input box.

(B) Calculate:

gross total = unit price x quantity

purchased

tax amount = gross total x tax rate / 100

(C) Display gross total in cell A1 and tax amount in cell A2

of the active worksheet.

Make sure to include “Option Explicit” statement before

the sub.

[Expected time to answer: 7 mins]

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.lisboa.ucp.pt?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!