Computer Science, asked by Thusharabuddy8849, 4 months ago

Input two numbers and the print the cube of the smaller number and print the square of the greater number

Answers

Answered by indiantechsmith
2

a=int(input("First number : "))

b=int(input("Second number : "))

if(a>b):

print("Cube of smaller no. :",b*b*b)

print("Square of greater no. :",a*a)

else:

print("Cube of smaller no. :",a*a*a)

print("Square of greater no. :",b*b)

Similar questions