The file Stock Prices.xlsx contains monthly adjusted closing prices, adjusted for dividends and stock splits, for Wal Tech’s stock from 2007 to early 2015. (Wal Tech is a fictitious company.)
a. Write a sub called RecordHigh1 that takes a single argument called search Price. This sub searches down the list of prices for the first price that exceeds the searchPrice argument. If it finds one, it displays the corresponding date in a message, something similar to, “The first date Wal Tech stock price exceeded _ was _.” If the price never exceeded the argument search Price, it displays a message to this effect. Next, write a Records sub that uses an input box to ask the user for a price and then calls RecordHigh1 with this price as the argument.
b. Write another sub called RecordHigh2 that takes a single argument called specified Month. This sub searches down the list of prices for the last time up until (and including) the specified month where the stock reached a record high (that is, it was larger than all prices before it, going back to the beginning of 2007). It then displays a message such as, “The most recent record, up until _, was in _, when the price reached _.” (Note that Jan-2007 is a record high by default, so at least one record high will always be found.) Change the Records sub from part a so that the input box now asks for a month and then calls RecordHigh2 with this month as an argument.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more