i tried 60 degrees and it still says "1". ill paste the part of the code with the COS function
117 IF choice = 11 THEN PRINT "please enter your number"
IF choice = 11 THEN DIM csintimes
IF choice = 11 THEN INPUT csintimes
IF choice = 11 THEN LET p = csintimes
IF choice = 11 THEN LET a =...
??? sorry, i havent gone through much algebra, this is confusing, i am just trying to produce the calculator, i can give you the source code if you want.
i attatched BAS file of the source code you can view with qbasic and suggest improvement...
was making qbasic calculator... one choice is cos(number) and for the cos functions i use cos(number) and no matter what number i use the answer is one. I take it that the answer is too many digits long (prob nonteminating) and it rounds to an integer, however i would like it to round to say 6...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.