9 lines
134 B
Plaintext
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 |