1 2 3 4 5 6 7 8 9
//chapter 19 Ex 3 clc; clear; close; rUp=9; rDown=27; rStream=(rDown-rUp)/2; printf("The rate of stream is %d km/hr",rStream);