Problem1571--C Programming Practicals 4 Switch -2

1571: C Programming Practicals 4 Switch -2

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1627  Solved: 248
[Submit] [Status] [Web Board] [Creator:]

Description

Write a C code which will print Square, Cube and Square Root of all Numbers from 1 to N, N will be input by user.

Input

Enter a positive integer 1

Output

Number Square Cube Square Root 1 1 1 1.00

Sample Input Copy

7

Sample Output Copy

Number  Square  Cube    Square Root
1       1       1       1.00

2       4       8       1.41

3       9       27      1.73

4       16      64      2.00

5       25      125     2.24

6       36      216     2.45

7       49      343     2.65

Source/Category

117