matlab help i created this function but need to edit it if the given waist and chest 5188524

Matlab Help

I created this function. but need to edit it.
If the given waist and chest measurements fit more than one size, the function must return the smallest size that fits.

What do I need to add or change?

function ShirtSize=computeShirtSize(chest,waist)
c=chest;
w=waist;
if c50 | w43
ShirtSize=('Not available');
elseif (c>=38 & c<=42) & (w>=30 & w
ShirtSize=(&#39;Small&#39;);
elseif (c>=40 & c<=44) & (w>=32 & w
ShirtSize=(&#39;Medium&#39;);
elseif (c>=42 & c<=46) & (w>=34 & w
ShirtSize=(&#39;Large&#39;);
elseif (c>=44 & c<=48) & (w>=36 & w
ShirtSize=(&#39;X-Large&#39;);
elseif (c>=46 & c<=50) & (w>=38 & w
ShirtSize=(&#39;XX-Large&#39;);
end

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now