blob: d34591133ede7fb3876824924fc20c57103bf7e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Given
a=14
b=60
c=24
d=7.0
//Calculation
t=a*b/60.0
t1=(c/d)
//Result
printf("\n (i) Time in series is %0.3f minute", t)
printf("\n (ii) Time in parallel is %0.2f minute",t1)
|