Question: Wrjava ite a program that reads the price And the production date (month and year of an item) then prints the price after applying the

Wrjava

ite a program that reads the price And the production date (month and year of an item) then prints the price after applying the discount rate which equals to:

  • 50% if it is produced before 2021.
  • 30% if it is produced in 2021 but before the 4th month.
  • 10% if it is produced after 4,2021and before 7,2021
  • Otherwise, No discount is calculated.

 Wrjava ite a program that reads the price And the production

Lab 3 Write a program that reads the price And the production date (month and year of an item) then prints the price after applying the discount rate which equals to: 50% if it is produced before 2021. 30% if it is produced in 2021 but before the 4th month. 10% if it is produced after 4,2021 and before 7,2021 Otherwise, No discount is calculated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!