declaring variable for problem 2

declaring variable for problem 2