subject

1. Write a program that reads two numbers a and b and displays the sum and product of the two numbers.

2. Write a program that reads two natural numbers x and y and displays the quotient and remainder of the two numbers.

3. Write a program that reads two integers a and b and displays the sum and the difference of the two numbers.

4. Write a program that reads two numbers a and b that represent the length and width of a rectangle. Write a program that calculates and displays the perimeter and area of the rectangle.

5. Read a and b two natural numbers. Develop an algorithm that calculates and displays the sum and product of the two numbers, as well as the sum of the squares of the two numbers.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
1. Write a program that reads two numbers a and b and displays the sum and product of the two number...
Questions
question
Mathematics, 17.04.2020 22:47
question
Mathematics, 17.04.2020 22:47
Questions on the website: 13722363