Emails us- Call US

Assignment help 5682

Now you are working for a finance company and you have data in form of two lists, one is a list of stock names, the other is a list of the prices of those stocks. You can start with the following data: stocks = [‘IBM’,’AAPL’,’GOOG’,’FB’,’SMSN’,’INTC’,’MCD’,’TWTR’] stockPrices = [23.4,24.5,25.3,56.7,89.4,45.3,43.6,67.4] Suppose the value of a particular stock has increased by a certain percentage. Write a program that does the following: Requirements: ? Ask the user to enter the name of the stock ? Ask the user to enter the percentage increase CP104 Spring 2018 A5: Lists Qutaiba Albluwi © 2018 ? Find the price of the stock ? Compute the new value with the requested increase ? Update the stock price ? Print the updated stock list Use the following error checking: ? If the user enters an increase that is 0 or negative, then no change should take place ? If the user enters a stock name that is not in the list, print an error message. Note: For the purposes of this problem, assume that you cannot use the .index function.


15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.