admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Square and Cube of a Number

Sunita Chhetry
110 Posts

WAP to calculate and display square and cube of an input number of integer type

Eg:

Num=2

 

Output

Square=4(2*2=4)

Cube=8(2*2*2=8)

Published By : Sunita Chhetry
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin