Write a program to input a number and calculate the Square and Cube of the Number. Display the output in the given format. Eg: INPUT : Enter a number 5 OUTPUT: Square of 5 is 25 Cube of 5 is 125
Answers
Answered by
1
Attachments:
![](https://hi-static.z-dn.net/files/d3b/abe34d299b77bbb64793aeb03931a364.jpg)
![](https://hi-static.z-dn.net/files/d5b/54e5d2a26ff75b0d67df3c67f6bfc73c.jpg)
Answered by
0
Unfortunately, you didn't specify which programming language to use to execute this program so I just used the one which I know about (i.e. Python).
That being said here's your answer...Hope it helps!
Attachments:
![](https://hi-static.z-dn.net/files/d0c/5f20454d7bbb8c4e7e970a3c44b221eb.png)
![](https://hi-static.z-dn.net/files/dd4/73fd5f876b4b744f214a73011aab1ee0.png)
Similar questions
English,
1 month ago
Math,
1 month ago
CBSE BOARD X,
2 months ago
Chemistry,
2 months ago
Social Sciences,
10 months ago
Math,
10 months ago