//chapter 6 Ex 8 clc; clear; close; total=25; avg25=18; avg12first=14; avg12last=17; num13=(avg25*total)-((avg12first*12)+(avg12last*12)); mprintf("The 13th number is %d",num13);