subject

Two numbers are given (numbers are entered from the keyboard). If both numbers are positive, then output their sum, if both numbers are negative, then output their product, if the numbers are positive and negative, then output the square of a positive number (number ** 2). Даны два числа (числа вводим с клавиатуры). Если оба числа положительные, то выдать их сумму, если оба числа отрицательные, то выдать их произведение, если числа положительное и отрицательное, то выдать квадрат положительного числа (number**2).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 20.06.2019 18:04
Arla made a spreadsheet in excel showing the projected costs for a concert she was putting on. what can marla enter into cell a11 to find out how much money is left in her budget and to make sure the cell is updated whenever she changes any of the other costs?
Answers: 1
question
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
You know the right answer?
Two numbers are given (numbers are entered from the keyboard). If both numbers are positive, then ou...
Questions
question
English, 06.05.2021 20:40
question
Mathematics, 06.05.2021 20:40
question
Mathematics, 06.05.2021 20:40
question
Spanish, 06.05.2021 20:40
question
Mathematics, 06.05.2021 20:50
Questions on the website: 13722361