Write a program print number n (Print n (square) , n (cube), n (four)
Answers
Answered by
0
Answer:
in python :
number= input("Enter number to get square:")
calc = int(number) *int(number)
print(The square of numt you entered is", (calc)
exit = input (" Press Enter to exit:")
you can also type float in place of int in 2 nd line
to enter floating point number.
Repeat the same steps to get other program
only add the the int(number) one more time in cube program and two times in four program
hope it's helpful
if u find any difficulty comment
I will send u the source code
hope it's helpful friend
Similar questions