0

Halloween Candy Help

It keeps returning close open parentheses var x: Double let inp = Double(readLine()!)! var d = 2.0/inp var e = d*100 print(e.round(.up))

29th Apr 2020, 11:41 AM
Ārtēmī§
Ārtēmī§ - avatar
1 Respuesta
+ 1
Hello Ārtēmī§ e.round(.up) print(Int(e)) The output have to be an integer.
29th Apr 2020, 11:46 PM
Denise Roßberg
Denise Roßberg - avatar