Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please sir answer the full code from question 1 to 5 Task 10 Write the SultansDine class so that the given code provides the expected

please sir answer the full code from question 1 to 5
image text in transcribed
image text in transcribed
Task 10 Write the SultansDine class so that the given code provides the expected output. [You are not allowed to change the code below! # Write your code here SultansDine.details() print(****** dhanmodi = Sultans Dine('Dhanmondi') dhanmodi.sellQuantity(25) dhanmodi branchinformation() printr- -") SultansDine.details() Output: Total Number of branch(s): 0 Total Sell: O Taka Branch Name: Dhanmondi Branch Sell: 10000 Taka Total Number of branch(s): 1 Total Sell: 10000 Taka Branch Name: Dhanmondi, Branch Sell: 10000 Taka Branch consists of total sell's: 100.00% Branch Name: Baily Road Branch Sell: 5250 Taka Total Number of branch(s): 2 Total Sell: 15250 Taka Branch Name: Dhanmondi, Branch Sell: 10000 Taka Branch consists of total sell's: 65.57% Branch Name: Bailly Road, Branch Sell: 5250 Taka Branch consists of total sell's: 34.43% print('== =======') baily_road = SuitansDine('Baily Road') baily_road.sellQuantity(15) baily_road branchinformation() printr- -") SultansDine.details() print ======') Branch Name: Gulshan Branch Sell: 2700 Taka gulshan = SultansDine('Gulshan') gulshan.sellQuantity(9) gulshan branchinformation() print - SultansDine details) ") Total Number of branch(s): 3 Total Sell: 17950 Taka Branch Name: Dhanmondi, Branch Sell: 10000 Taka Branch consists of total sell's: 55.71% Branch Name: Baily Road, Branch Sell: 5250 Taka Branch consists of total sell's: 29.25% Branch Name: Gulshan, Branch Sell: 2700 Taka Branch consists of total sell's: 15.04% Subtaks: 1. Create SultansDine class 2. Create 2 class variable and 1 class list 3. Create 1 class method 4. Calculation of branch sell is given below a. If sellQuantity

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

Cost Accounting A Managerial Emphasis

Authors: Charles T. Horngren, Srikant M.Dater, George Foster, Madhav

13th Edition

8120335643, 136126634, 978-0136126638

More Books

Students also viewed these Accounting questions

Question

What information do the notes to financial statements provide?

Answered: 1 week ago