Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:50, najashohatee1234
Can online classes such as gradpoint track your ip location like if im taking a final and i give somebody else my account and they take the final for me will it show where they are taking the final from? and can this be countered with a vpn
Answers: 1
image
Computers and Technology, 22.06.2019 15:20, brookemcelhaney
The north and south regions had very diferent economies in the 1800s.
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, isaiahhuettnerowgg8d
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
image
Computers and Technology, 23.06.2019 22:40, azariah7
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
Do you know the correct answer?
1. Write a program that reads two numbers a and b and displays the sum and product of the two number...

Questions in other subjects:

Konu
Health, 04.10.2021 02:20