Write a program to compute the terms of a sequence


Problem

Write a program to compute, and output to the screen, the terms of a sequence as it converges to 0. The sequence begins with a value k and is then repeatedly divided by 4 until it is (essentially) equal to 0. For example, the sequence induced by k = 12 is 12/4 = 3, 3/4 = 0.75, 0.75/4 = 0.1875, 0.1875/4 = 0.046875, 0.046875/4 = 0.01171875, ... Your submission should include a screenshot of the execution of the program using each of the values k = 7, 0.1 and 1.9.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program to compute the terms of a sequence
Reference No:- TGS03255302

Expected delivery within 24 Hours