Asked by mabs
Prompt for and read a number from the user, double the number, square the number and output the results.
Answers
Answered by
oobleck
print "Enter number"
read x
print "Double: ",2x, "Squared: ?, x*x
read x
print "Double: ",2x, "Squared: ?, x*x
There are no AI answers yet. The ability to request AI answers is coming soon!