passed all the test cases on Variables and Parameters