How can I fix my code?

ruby

#1

This is a really basic code, but I can't figure out what's wrong. It keeps printing out:
C:/Users/Chris/Desktop/Test 1.rb:7:in '**':String can't be coerced into Fixnum
(TypeError)
From C:/Users/Chris/Desktop/Test 1.rb:7:in '(main)'
I'm new at this. Please help
Here's the code:
print "What's the radius?".chomp
Radius=gets
print "What should the first numbers be?".chomp
first_Numbers=gets
print "How many zeros should there be after your previous answer?".chomp
Zeros=gets
sides =(first_Numbers*(10**Zeros))
john=(((2*sides)tan((180/sides)Radius)))/(2*Radius)
print john


#2

Please attach a screenshot or your code so I could help.

Thank you! :slight_smile:


#3

I did a thing. Please help.