Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

python to c converter tool online

import math
x,y=input().split(),input().split()
x,y=[int(i) for i in x],[int(i) for i in y]
t,t1=abs(x[0]-y[0]),abs(x[1]-y[1])

print("%.2f" %math.sqrt(t*t+t1*t1))
 
PREVIOUS NEXT
Tagged: #python #converter #tool #online
ADD COMMENT
Topic
Name
7+8 =