Roweida Bawab
Followers: 0 Following: 0
Statistiques
0 Questions
2 Réponses
RANG
204 734
of 295 569
RÉPUTATION
0
CONTRIBUTIONS
0 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 20 247
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 105
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Write a function called picker that takes three input arguments called condition, in1 and in2 in this order. The argument condition is a logical. If it is true, the function assigns the value of in1 to the output argument out, otherwise, it assigns
This is how I solved it function out = picker (condition, in1, in2) if condition == true out = in1; else out = in2; ...
plus de 4 ans il y a | 0
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
plus de 4 ans il y a | 0