subject
Mathematics, 14.09.2019 06:30 dj4354

But add to the algorithm a third line to the while- loop: "(c) print p and print k". what are all the numbers the program prints out for input n 4? how many steps does the algorithm take as a function of n? (explain your reasoning.)

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 19:00
Find the area of the triangle shown 3 by 6
Answers: 1
question
Mathematics, 21.06.2019 22:00
Luke started a weight-loss program. the first week, he lost x pounds. the second week, he lost pounds less than times the pounds he lost the first week. the third week, he lost 1 pound more than of the pounds he lost the first week. liam started a weight-loss program when luke did. the first week, he lost 1 pound less than times the pounds luke lost the first week. the second week, he lost 4 pounds less than times the pounds luke lost the first week. the third week, he lost pound more than times the pounds luke lost the first week.
Answers: 2
question
Mathematics, 21.06.2019 23:30
Sam opened a money-market account that pays 3% simple interest. he started the account with $7,000 and made no further deposits. when he closed the account, he had earned $420 in interest. how long did he keep his account open?
Answers: 1
question
Mathematics, 21.06.2019 23:40
Rounded to the nearest tenth, what is the value of x
Answers: 1
You know the right answer?
But add to the algorithm a third line to the while- loop: "(c) print p and print k". what are all t...
Questions
question
Biology, 30.11.2020 05:10
Questions on the website: 13722367