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
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)