in which of the following scenarios would you need to use a nested if statement? a. to calculate an invoice…

in which of the following scenarios would you need to use a nested if statement? a. to calculate an invoice for a customer b. to determine when to restock inventory c. to calculate a persons tax rate based on earnings d. to determine how much to deduct from taxes

in which of the following scenarios would you need to use a nested if statement? a. to calculate an invoice for a customer b. to determine when to restock inventory c. to calculate a persons tax rate based on earnings d. to determine how much to deduct from taxes

Answer

Answer:

C. To calculate a person's tax rate based on earnings

Brief Explanations:

Tax - rate calculations often have multiple tiers. For example, different tax rates apply to different income brackets. A nested IF statement can handle these multiple conditions (income ranges) to determine the correct tax rate, making it the most appropriate scenario among the options.