photo

Ravleen Kaur


Last seen: plus de 2 ans il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

All
  • Solver
  • First Answer

Afficher les badges

Feeds

Afficher par

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

plus de 2 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

plus de 2 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 2 ans il y a

Réponse apportée
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
function valid = valid_date(year,month,day) if (isscalar(year) && (year>=1) && year==fix(year)) && (isscalar(month) && ((1<=mon...

plus de 2 ans il y a | 0