1 2 3 4 5 6 7 8
//chapter 6 Ex 14 clc; clear; close; score=87; inc=3; n=17; avg17= score-(n-1)*inc; mprintf("The average after 17th inning is %d",avg17);