Compile error while setting up demo task

truing out the demo task of fetching stock price.
getting compile error, variable not declared, it maybe inaccessible due to its protection level. but in the task guide nothing is mentioned about declaring.


variable have a defined scope. Create argument which have global scope in case you are not clear how to use variables