Community Profile

photo

Roweida Bawab


Last seen: 3 years ago Active since 2020

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
Calculate taxi fare by giving multiple inputs and single output
function fare = taxi_fare(d, t) d = ceil(d); t = ceil(t); fare = 5 + (d-1)*2 + t*0.25 end

4 years ago | 0