Topic: Mathematics Problem / Level: advanced

Problem: Write a program to compute the nth term of a geometric sequence.

Run the code to see the output here...