To accept a number and display cube and square of it.



Answer: -
Step 1: Start
Step 2: Accept a number and store in Number
Step 3: calculate square of it and store in Square
Step 4: Display “Your square is” Square
Step 5: calculate Cube of it and store in Cube
Step 6: Display “Your Cube is” Cube
Step 7: End

Comments

Popular posts from this blog

To accept three numbers and display the greater one.