Menu

[solved]-Think Output Algorithm Would Input 6 Userval 6 Initialval 1 Range 1 Userval Update Initial Q39090053

What do you think the output of the algorithm would beif the input was 6?

userVal = 6

initialVal = 1

for i in range 1 to userVal:

     update initialVal to be initialVal +2

output initialVal

Expert Answer


Answer to What do you think the output of the algorithm would be if the input was 6? userVal = 6 initialVal = 1 for i in range 1 t… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *