fork download
  1. z = input("Операция" )
  2. x = float(input("Первое число:"))
  3. y = float(input("Второе число:"))
  4.  
  5. If z == "+":
  6. c=x+y
  7. print("Результат " +str(c))
  8. elif z == "-":
  9. c=x-y
  10. print("Результат " +str(c))
  11. elif z == "*":
  12. c=x*y
  13. print("Результат " +str(c))
  14. elif z == "/":
  15. c=x/y
  16. print("Результат " +str(c))
  17. else:
  18. print("Хуйню написал!")
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
+
10
30
compilation info
Main.java:1: error: class, interface, or enum expected
z = input("????????" )
^
1 error
stdout
Standard output is empty