photo

Dante Gallo Torres


Last seen: 2 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Calculate taxi fare by giving multiple inputs and single output
You can use matrix for this problem: function fare = taxi_fare(d, t) fare = [1 ceil(d-1) ceil(t)] * [5; 2; 0.25] end

ongeveer een jaar ago | 1