subject

Write a program that squares an integer and prints the result.

Input: Your program should read lines from standard input. Each line will contain a positive integer.
Output: For each line of input, print to standard output the square of the number. Print out each result on a new line.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:20
Wireless communications is likely to be viewed as an essential part of an enterprise network infrastructure when: select one: a. mobile communication is needed b. communication facilities must be installed at low initial cost c. communication must take place in a hostile or difficult terrain that makes wired communication difficult or impossible d. the same information must be broadcast to many locations
Answers: 1
question
Computers and Technology, 22.06.2019 03:30
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
Write a program that squares an integer and prints the result.

Input: Your program shou...
Questions
question
Biology, 23.10.2020 16:40
question
Mathematics, 23.10.2020 16:40
question
Mathematics, 23.10.2020 16:40
question
Mathematics, 23.10.2020 16:40
question
English, 23.10.2020 16:40
question
Mathematics, 23.10.2020 16:40
Questions on the website: 13722367