Quote:
/* March 17th, 2008
Program designed to use inputted value of x and square it by the
number of terms inputted, obtaining the sum.
CH4EX9*/
var sum, x : real
var no_of_terms : int
put no_of_terms:0
put "Enter number of terms to input."
get no_of_terms
put no_of_terms, " terms are going to be entered."
put ""
put "Enter value of x."
get x
put x, " is the value of X."
for i : 1.. no_of_terms
put "1+x+", i
end for
I read the loops tutorial to reconfirm what I know I can't seem to get the program to run says no variable, any suggestions?