Make a C program that would ask the user for integers N and E. N would determine the number of integers to be displayed and E would determine the exponent of the number series starting from 1. Display...


Make a C program that would ask the user for integers N and E. N would determine the number of integers to be displayed and E would determine the exponent of the number series starting from 1. Display the first N numbers raise to E.


Note: you can use the pow() function under the math.h library.


For example, if the user inputs N as 3 and E as 2 you will display 3 values,


1^2 2^2 3^2 which is equal to 1 4 9


Make a C program that would ask the user<br>for integers N and E. N would determine the<br>number of integers to be displayed and E<br>would determine the exponent of the number<br>series starting from 1. Display the first N<br>numbers raise to E.<br>Note: you can use the pow() function under<br>the math.h library.<br>For example, if the user inputs N as 3 and E<br>as 2 you will display 3 values,<br>1^2 2^2 3^2 which is equal to 14 9<br>Input<br>1. Input N<br>2. Input E<br>Dutnut<br>

Extracted text: Make a C program that would ask the user for integers N and E. N would determine the number of integers to be displayed and E would determine the exponent of the number series starting from 1. Display the first N numbers raise to E. Note: you can use the pow() function under the math.h library. For example, if the user inputs N as 3 and E as 2 you will display 3 values, 1^2 2^2 3^2 which is equal to 14 9 Input 1. Input N 2. Input E Dutnut
Output<br>First line will contain a message prompt to<br>input the value of N. Which is the number of<br>values you will display.<br>Second line will contain a message prompt to<br>input the value of E. Which is the exponent of<br>each value of your number series (The base<br>will start with 1 and increment by 1 each<br>time)<br>Display the first N numbers to raise to E.<br>Separate numbers by space in display.<br>Input N: 5<br>Input · E: 3<br>Number Series:<br>1.8 27 64 125<br>

Extracted text: Output First line will contain a message prompt to input the value of N. Which is the number of values you will display. Second line will contain a message prompt to input the value of E. Which is the exponent of each value of your number series (The base will start with 1 and increment by 1 each time) Display the first N numbers to raise to E. Separate numbers by space in display. Input N: 5 Input · E: 3 Number Series: 1.8 27 64 125

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here