6. WAP to accept any number and find their square and cube value.

Solution Of The Program -

If you want to see this solution:

Output-

Enter The Number: 

Square Of The Number: 

Cube Of The Number: