Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Print a table of powers, for X going from 1 to 10. calculate x squared, x cub

ID: 3540227 • Letter: 1

Question

1. Print a table of powers, for X going from 1 to 10. calculate x squared, x cubed, square root of x, and cube root of x. display two decimal places for the cube and square roots. There is a sqrt function and a pow function. The cube root of a number is that number raised to the 1/3 power.

2. Print a table of factorials from 1 to 20. 5 factorial is 5*4*3*2*1

3. calculate your daily pay for 31 days assuming you start work of a penny a day and double your salary each day. You will be in the millions on day 31


4. Print a conversion chart for Fahrenheit to Centigrade. Start at 0 and go to 220 by an increment of 10. C=(f-32)*5/9

5. Print a table of windchills. Have the wind speed go from 5 to 50 and the temp go from 5 to 50. You can use nested for loops.

Explanation / Answer

1) #include #include #include #include void main() { int x,i; coutx; for(i=1;i