input a number if it is even print it's square otherwise print it's cube
in python
Answers
Answered by
2
HOPE IT'S HELPFUL TO ALL WHO SEES THIS ANSWER
Kindly make me as brainlyist answer
Attachments:
Answered by
11
Answer:
num1 = float(input( " Enter any number : " ,))
if (num1 % 2 ==0):
print ( num1 * num1 )
else :
print ( num1 * num1 * num1)
MARK AS BRAINLIEST ANSWER.....
Similar questions