ACCEPT A NUMBER AND FIND ITS SQUARE AND CUBE. algorithm
Answers
Answered by
0
Answer:
Step 1: Start the program
Step 2: Get input a number as integer and store as
number
Step 3: Initialise new variable as square is square of number.
Step 4: Initialise new variable as cube is cube of number
Step 5: Give output as square and cube
Step 6: Stop the program.
Similar questions