Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Scenario: Toyotas show room uses a simple system that will help to calculate the sales of each car. Firstly, all the Toyotas car data are

Scenario: Toyotas show room uses a simple system that will help to calculate the sales of each car. Firstly, all the Toyotas car data are in a text file. The text file consists of Toyota brand, car number, price of the car, discount, and car color. At least five (5) car sale s details should be included in the text file. Using the system, you should be able to do the following: 1. Based on the second paragraph, from the text file read the data and store those in a dictionary. 2. Making use of the data from the dictionary, the system should be able to calculate and display the final price of the car and determine the remarks for each car. The remarks are PRICE IS HIGH, if final price of the car is 10000 and above, otherwise the remark is PRICE IS LOW. 3. In a separate text file write down all the car details which also includes final price and remarks. 4. In anotherseparate file write down all toyota brand car which is having the highest price and lowest price.

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

Students also viewed these Databases questions