Varible Need Help VERY FAST

BlitzPlus Forums/BlitzPlus Programming/Varible Need Help VERY FAST

Johannes201(Posted 2009) [#1]
hi,
i if this topic is already there sry but here is my problem:
my math teacher told me to make a programm where i can put i a number for example 20 and it should be the Root come out i dont know if this is right word (in German Wurzel)
Like this you put in: 16 and it come out 4
Thanks for help
Johannes


Sauer(Posted 2009) [#2]
num=INPUT("ENTER A NUMBER:")
num=num^.5
PRINT "THE SQUARE ROOT OF THAT NUMBER IS: "+num


The square root is equal to the number raised to the .5 power.


plash(Posted 2009) [#3]
http://www.blitzbasic.com/bpdocs/command.php?name=Sqr&ref=2d_cat


Johannes201(Posted 2009) [#4]
THANKS !!!!