Question: Write an algorithm to determine and display the square and cube of a number. (define your input) Output: Square of inum1 and Cube of iNum1

Write an algorithm to determine and display the square and cube of a number. (define your input) Output: Square of inum1 and Cube of iNum1 Algorithm: 1. Start 2. Write "Enter a number:" 3. Read iNum1 4. isquare = inum 1 iNum 1 5. iCube = iNum 1 iNum 1 iNum 1 6. Write "Square is:" + isquare 7. Write "Cube is:" +iCube 8. Stop Python: Write a python program to evaluate your algorithm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
