Hey all,
I´m trying to make a very simple code where the user types a radius and julia returns the calculated area and circumference of a circle with that radius.
println(“circle.jl”); println(“Escolha um raio”); raio = readline(); parse(Int64, raio); print(2*π*raio); print(2*π*raio)
However, it says there is a Method Error; no method matching. What is the problem here?
Also, i´d love suggestions of better/simpler ways to write the code if you have any. Thanks in advance.