nested for loop in c examples with output pdf, grade 7 mental math worksheets pdf