Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Excel 2024 In 7 Days

Authors: Alan Dinkins

1st Edition

B0CJ3X98XK, 979-8861224000

More Books

Students also viewed these Databases questions

Question

Identify how culture affects appropriate leadership behavior

Answered: 1 week ago