PYTHON ONLY PLZZZZ   Create a car object with the following attributes and actions: Name Make Model Year price Actions: Compute the age of the car Compute the cost plus a 9% tax Compute a 10% depreciation for every 5 years To string  Test your object: Ask the user for all the information compute using all the actions of the object print using the to string action Describe the numbers and text you print. Do not just print numbers or strings to the screen explain what each number represents.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

PYTHON ONLY PLZZZZ

 

Create a car object with the following attributes and actions:

  • Name
  • Make
  • Model
  • Year
  • price

Actions:

  • Compute the age of the car
  • Compute the cost plus a 9% tax
  • Compute a 10% depreciation for every 5 years
  • To string 

Test your object:

  • Ask the user for all the information
  • compute using all the actions of the object
  • print using the to string action

Describe the numbers and text you print. Do not just print numbers or strings to the screen explain what each number represents.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage