Input 1 :2Pen0121202Book0235605Output 1 :Details of item 1 :1. Item Name: Pen2. Item No.: 123. Item Price: 1204. Discount Percent: 25. Discounted Price: 117.6Details of item 2 :1. Item Name: Book2. Item No.: 233. Item Price: 5604. Discount Percent: 55. Discounted Price: 532Total Price: 680Total Discount: 30.4
Question
Input 1 :2Pen0121202Book0235605Output 1 :Details of item 1 :1. Item Name: Pen2. Item No.: 123. Item Price: 1204. Discount Percent: 25. Discounted Price: 117.6Details of item 2 :1. Item Name: Book2. Item No.: 233. Item Price: 5604. Discount Percent: 55. Discounted Price: 532Total Price: 680Total Discount: 30.4
Solution
I'm sorry, but you didn't provide any text. Could you please provide the text you want me to respond to?
Similar Questions
Write a program to enter the names of books and their prices as inputs in a Dictionary. Perform the following operations for the purchase of the books by the customer.· Add more details of books to the dictionary· For books priced above 1000-2999 provides a discount of 5%· For books that are priced above 3000- 5000 provide a discount of 3% on the purchase· For books above 5000 provides a discount of 2%.· Books priced below 500 no discount is provided.Input format :The input consists of the book name and price.Then the choice (1 to enter more and 0 to stop).Output format :The output prints the initial and the final dictionary based on the conditions.Refer sample input and output for the formatting specifications.Sample test cases :Input 1 :Applies Stat25001Neural Networks60000Output 1 :[('Applies Stat', 2500), ('Data science Python projects', 300), ('Handbook Statistics', 18000), ('Hands on data science', 1160), ('Machine Learning', 4000), ('Neural Networks', 6000), ('Python and R', 7215)][('Applies Stat', 2375.0), ('Data science Python projects', 300), ('Handbook Statistics', 17640.0), ('Hands on data science', 1102.0), ('Machine Learning', 3880.0), ('Neural Networks', 5880.0), ('Python and R', 7070.7)]Input 2 :Applies Stat25001Neural Networks60001Artificial Intelligence52001Computer Networks25000Output 2 :[('Applies Stat', 2500), ('Artificial Intelligence', 5200), ('Computer Networks', 2500), ('Data science Python projects', 300), ('Handbook Statistics', 18000), ('Hands on data science', 1160), ('Machine Learning', 4000), ('Neural Networks', 6000), ('Python and R', 7215)][('Applies Stat', 2375.0),
Write a C program to store the Item number, quantity sold, and Price of one item in toi.remctf file by reading values from the keyboard.Save your program as lBQ4a.cSample inputItem number quantity sold Price of oneitem(Rs)Ilo 2 12000233 6 5000320 2 10000100 5 1500b) Write a program to read the details from i.femft£ 5°/o discount is given if more than 3 itemsare purchased from an item. Display the total amount paid for each item.` Display the itemnumber and the total amount paid for each item.Save your program as lBQ4b.cSample outputItem No. Total AmountIlo233320loo24000.0028500.0020000.007125.00
Input FormatRead the length of the roomRead the breadth of the roomRead the cost of laying the sheet per square meterRead the minimum cost value to get a discountRead the discount percentageOutput FormatArea of the roomTotal cost of the workYou are eligible for discount/ You are not eligible for discountDiscount amount on the total costTotal cost to be paidSample Input55352520007Sample OutputArea of the room 1925Total cost of the work 48125You are eligible for discountDiscount amount 3368.75Total cost to be paid 44756.25
Anu went to buy some notebooks for her classmates that costs ₹ 120 each. Bookseller offers her a discount such that after buying 15 notebooks, she has to pay the price of 12 notebooks and 3 are given at the cost of ₹ 60 each. Find the percentage of discount offered.15%1212%1212%10%6%
Astickercompanyisrepresentedinthetableshowingthenumberofstickerssoldbetween2015and2019.Year Sales2015 25002016 22862017 27812018 26822019 2665Giventhepriceofastickerremainedat£1.55between2015and2019,calculatetherevenuemadein2015.Giveyouranswerto2decimalplacesifneeded
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.