Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JUN Problem Statement Neil Sardesai owns Kiddeo corp. a shop for kid's accesories. There two categories of items with an Id number assoc If the
JUN Problem Statement Neil Sardesai owns Kiddeo corp. a shop for kid's accesories. There two categories of items with an Id number assoc If the first digit in the id is 1, then the item cost is 50 ch If the first digit in the id is 2, then the item cost is 1 each He also provides a discount of 10% if the total pur mase cost is more than 5,000. Given the id and number of items, display the tot amount to be paid by the customer.. Input Single line containing item id followed by number of items. Both values must be given space separated as shown Output Single integer displaying the total amount to be paid Example 1: Innut vious
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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