Answer:
Answer A) Answer B) and Answer C)
Explanation:
Answer A) Perform an algorithm that adds two numbers:
Input: List1: 5->6->3 // represents number 365
List2: 8->4->2 // represents number 248
Output: Resultant list: 3->1->6 // represents number 613
Input: List1: 7->5->9->4->6 // represents number 64957
List2: 8->4 // represents number 48
Output: Resultant list: 5->0->0->5->6 // represents number 65005
Answer B) Develop an algorithm that calculates the area of a square:
1. start
2. input x
3. sq=x*x
4. print sq
5. stop
Answer C) Make an algorithm that allows you to determine the area of a rectangle:
1. Define the width of the rectangle.
2. Define the Height of the rectangle.
3. Define Area of the rectangle.
4. Calculate the area of the rectangle by multiplying the width and height of the rectangle.
5. Assign the area of the rectangle to the area variable.
6. print the area of the rectangle.