ashok secured average of 70 marks in 6 subjects . if the average of marks in 5 subjects is 74 , how many marks did he secure in the 6 th subject ?
"explanation : number of subjects = 6 average of marks in 6 subjects = 70 therefore total marks in 6 subjects = 70 * 6 = 420 now , no . of subjects = 5 total marks in 5 subjects = 74 * 5 = 370 therefore marks in 6 th subject = 420 – 370 = 50 answer a"
subtract(multiply(70, 6), multiply(74, 5))