Math, asked by revanth250906, 3 months ago

Series III
Write a program to generate the first n terms in series 3,9, 27, 81,...
INPUT & OUTPUT FORMAT:
The input is an integer 'n' which denotes the number of terms to be print
Print the series and refer the sample output for formatting.
SAMPLE INPUT:
6
5​

Answers

Answered by james7483
1

Answer:

Input Format :

Input consists of a single integer which corresponds to n.

Output Format :

Output consists of the terms in the series separated by a blank space.

Sample Input :

6

Sample Output :

3,9,27,81,243,729

HOPE IT HELPS

PLEASE MARK AS BRAINLIEST !!!

Attachments:
Answered by brawlstar100
0

Answer:

Mark brainilist please

Attachments:
Similar questions