crayon-syntax-highlighter/util/sample/matlab.txt
2019-08-30 19:30:19 +02:00

9 lines
134 B
Plaintext

clear
N = input('Give numerator: ');
D = input('Give denominator: ');
if D==0
'Sorry, cannot divide by zero'
else
ratio = N/D
end