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, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen tool
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
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, 29.02.2020 02:21
question
Mathematics, 29.02.2020 02:22
question
Mathematics, 29.02.2020 02:23
question
Health, 29.02.2020 02:23
Questions on the website: 13722367