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!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.