Community Profile

photo

Roweida Bawab


Last seen: 10 months 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

1 year ago | 0