my code so far:
function getinputs=righttri
A=input('Enter side A:');
B=input('Enter side B:');
C=calcside
end
function C=calcside
C=sqrt(A^2+B^2);
reslult=printR
end
function reslult=printR
fprintf('For a right triangle with sides %d and %d,\n',A,B)
fprintf('the hypotenuse is %d,\n',C)
end
