/in/foo.c:1:1: warning: data definition has no type or storage class
weight=float(input())
^~~~~~
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'weight' [-Wimplicit-int]
/in/foo.c:1:8: error: expected expression before 'float'
weight=float(input())
^~~~~
/in/foo.c:13:7: error: stray '\342' in program
print(”%.2f”%result)
^
/in/foo.c:13:8: error: stray '\200' in program
print(”%.2f”%result)
^
/in/foo.c:13:9: error: stray '\235' in program
print(”%.2f”%result)
^
/in/foo.c:13:14: error: stray '\342' in program
print(”%.2f”%result)
^
/in/foo.c:13:15: error: stray '\200' in program
print(”%.2f”%result)
^
/in/foo.c:13:16: error: stray '\235' in program
print(”%.2f”%result)
^