Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions