Q. Write a program to read a floating point number n. Print n, n2, n3, n4 and n5.
Answer =
num = float (input ("Enter the number :- ")) print ("Answer is :- ", num, ', ', num **2, ', ', num ** 3, ', ', num ** 4, ' &', num ** 5)
Answer =
num = float (input ("Enter the number :- ")) print ("Answer is :- ", num, ', ', num **2, ', ', num ** 3, ', ', num ** 4, ' &', num ** 5)
is it correct?
ReplyDeleteYes, You can check it.
Deletehi
ReplyDelete: )
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )