Stock price weekly change

Find the percentage change in a stock's price, to one decimal place. Make sure input is numeric.

Here is what the worksheet looks like before the program runs.

Input

Here's the output:

Output

Here's what happens if the user doesn't enter numbers.

Error

Be sure to check both inputs.

Upload your Excel file.

(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)

Referenced in: