Question
Consider the following program. Input: n, an integer greater than or equal to 1 var:=1 for i=1 to n var:=var*i end for return(var) What does the program accomplish? What would happen if var was initially assigned a value greater than 1?
Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7Question image 8Question image 9