You are on page 1of 3

A.

  Consider the sequence: 1, 4, 16, 64, 256, 1024…


Create a flowchart and program fragment where the user will input the number of terms in a sequence and
will output the sequence.  The sequence 1, 4, 16, 64, 256, 1024 has an input number of 6.
B.  Create a flowchart and program fragment for the following series.  The user will input the number of
terms in the series.
     1.  Fibonacci Series
2.  Factorial 

You might also like