Write a program that squares an integer and prints the result.
Input: Your program shou...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 24.04.2020 17:30 shymitch32
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](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 23:30
Me2540 week 5 assignment what do i want to know?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:10
Memory aids that organize information for encoding are
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 14:00
Which of the following exceptions could occur when the following code is run, if the precondition is met? // precondition: a is not null public string dosomething(arraylist a, int b) { int i; string s; for (i = 0; i < = a.size(); i++) { s = (string)(a.get(i)); if (s.length() == b) { return s; } } return null; }
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.06.2019 01:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 27.06.2019 01:50
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.06.2019 01:50
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 27.06.2019 01:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 27.06.2019 01:50