Questions LLC
Login
or
Sign Up
Ask a New Question
Mathematics
Arithmetic
Operations with numbers
Prompt for and read a number from the user, double the number, square the number and output the results.
1 answer
print "Enter number"
read x
print "Double: ",2x, "Squared: ?, x*x
You can
ask a new question
or
answer this question
.
Related Questions
a. Two of the given numbers have square arrays. Make a conjecture about the number of factors for square numbers.
A. The number
I add 12 to a number and then double their sum.the result is one and the half times what I get when I double the original number
5. How would you change this sentence to a true statement?
b. Every irrational number is a rational number. c. Every irrational
0 8
I I I I I I I I I I I I I I I I I I 0 1 8 Above is the Double Number Line Use the double number line to find the number of
Draw the IPO chart for a program that reads a number from the user and displays the square of that number.
Write a GUI application that prompts the user for a number between 1 and 5. Be sure to include error checking so that the
A certain computer program lets the user pick a positive number, decreases the number by 60%, and displays the square of the
Write a program that will ask a user how many numbers they would like to check. Then, using a for loop, prompt the user for a
Write a program that Will prompt a user to enter his/her name and number.use a while loop that will display the user name times
Write a java application that finds the smallest of several integers. Prompt the user for the number of integers that will be