Need help to write a python(3.4.7) program.
Question Description
Please keep it as simple as possible.
This is activity is to be solved on your own or with your pair programming partner. If you work with a partner, only in person upload the program indicating the names of the team members in the “Comment” box in the submission.
This activity is graded 0 (not submitted)/100(submitted). Evidence of substantial work is required to earn credit.
Create a python script (program) based on the narrative below.
Name your file A011_Last name. For instance, my file would be named A011_Huerta
Points will be deducted if you submit a file with an incorrect file name.
Upload your python file.
Narrative
The program calculates the annual depreciation of a fixed asset using straight-line or sum-of-years’ digit. The user inputs the original cost, salvage value, the years of useful life, and the depreciation method to use through the keyboard. When the user indicates that the depreciation method is sum-of-years’ digit, the user also inputs the depreciation year. The program calculates the annual depreciation and reports the result on the screen.
For instance, when the user inputs an original cost of 5,000, a salvage value of 200, a useful life of 4, and straight-line as the depreciation method, the execution of the program should be similar to the image below.
For instance, when the user inputs an original cost of 5,000, a salvage value of 200, a useful life of 4, sum-of-years’ digit as the depreciation method, and a depreciation year of 3, the execution of the program should be similar to the image below.
please look at the attached picture to see how output should look.
Get your college paper done by experts
Do my question How much will it cost?Place an order in 3 easy steps. Takes less than 5 mins.
Leave a Reply
Want to join the discussion?Feel free to contribute!