Create Question3.cpp

Assignment 1 question 3