0% found this document useful (0 votes)
23 views3 pages

Review Lab (Programming)

This document describes a program that reads inputs x and n, and calculates the series that involves multiplying x by itself n times and adding the results. The program outputs the calculation of this series based on the user-provided values of x and n.

Uploaded by

Yanis Kemoun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views3 pages

Review Lab (Programming)

This document describes a program that reads inputs x and n, and calculates the series that involves multiplying x by itself n times and adding the results. The program outputs the calculation of this series based on the user-provided values of x and n.

Uploaded by

Yanis Kemoun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

After running this code, the outputs are:

Exercise 3:
We write a program that reads x and n and calculates the following series:

You might also like