Write a C program that uses command line arguments to define an integer

Marcus

New member
value and a range.? Write a C program that uses command line arguments to define an integer value and a range. The integer value must be greater than 0. The range is specified by 2 integers, both greater than 0, specifying the lower and upper bounds. The range given by the lower and upper bounds must be 10 or less. The program calculates all powers of the integer value specified by the range, and stores these powers in an array. The program then prints all of these powers stored in the array.
 
Back
Top