Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
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.
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
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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started