October 27, 2024
Chicago 12, Melborne City, USA
C#

How to make code about geometric sequence


I’m trying to make a C code about calculating a Geometric Sequence. Can anyone tell me how make this code? I think it doesn’t have any flaws but my program says that it has an error

other information about this problem is
the input must be a(1st number) r(common ratio) n
the output must show us the nth sequence
an example would be a=2, r=3, n=7 ==> output=1458



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video