Question: 5 November 2015 5. Write a C program that calculates x raised to the y power. The program should have a while repetition control statement.

5 November 2015 5. Write a C program that calculates x raised to the y power. The program should have a while repetition control statement. The terminal output of the program should look as below. Hint: Nth power of a number is the multiplication of the number by itself N times. Enter the number: 3 Enter the power: 4 4 th power of 3 is 81. 6. Write a program that utilizes looping to produce the following table of values by using \t escape sequence between the variables: You must use a while repetition statement in this program. A A+2 A+4 A+6 3 6 9 12 15 5 8 11 14 17 7 10 13 16 19 oowo 9 12 15 18 21 oo in 7. Write a C program that takes integer numbers from the keyboard. Then the program prints all of the integers from larger one to the smaller one inclusively in decreasing order. Enter two integer numbers: 6 2 6 5 4 3 2 Hint: Here first you must determine the small and the large numbers then set up a while repetition starting from the larger one to smaller with a step of -1 (counter will be decreasing). Please make sure that your programs do the necessary prompts before reading any data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
