Question: can someone help me write the code for this? using putty with C program Program Name powers Description The program will produce a table of
Program Name powers Description The program will produce a table of powers from the second to fifth powers using the beginning and ending integer values provided by the user, Requirements In the poi directory create the subdirectory exo Create the c program powers.c in the p01/ex0 directory. Using the format and words displayed in the Example of Output, the program will do the following: Displays a message that indicates what the program will do Asks the user for the range to be produced by asking the use for two integers representing the beginning and ending integer values Receives the 2 integers and places them in separate variables Produces 5 columns representing the integer and then the 20 3 powers Produces a row of column headers Produces a row for each integer in the range indicated. Ends with a thank you message. . Example of Output Welcome to powers This program will .. ( tell user what will happen ) Please enter the beginning integer: (user enters a value Eike 13 Please enter the ending integer: user enters a value liked) Integer Square 3rd Power 4th Power 5th Power 1 2 3 4 9 16 1 8 27 64 26 8 256 32 243 1024 Thank you for using powers. Bye
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
