1 2 3 4 5 6 7 8 9
//chapter 17 Ex 11 clc; clear; close; us=90;t1=6;t2=4; t=t1+t2; s_goods=us*t2/t; printf("The speed of goods train is %d km/hr",s_goods);