crayon-syntax-highlighter/util/sample/matlab.txt

9 lines
134 B
Plaintext
Raw Normal View History

2019-08-30 19:30:19 +02:00
clear
N = input('Give numerator: ');
D = input('Give denominator: ');
if D==0
'Sorry, cannot divide by zero'
else
ratio = N/D
end