Answer:
Header is in 4th line
Call to the function is in 10th line
Explanation:
How did you see this then?
Answer: The difference is that an algorithm is a precise step-by-step plan for a computational procedure that mainly begins with input value, yields, and output value. While a program is instructions written in code to explain to a computer what to do. Like how the CPU can send a command to the GPU to tell it what image to make. The better the CPU the better and faster it can read and complete it's given instructions.
Explanation: Trust me with this.
Answer:
A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement "the living room floor is rectangular" is an example of a(n) <u>assumption</u> . The length and width of the room are examples of <u>known</u> information, which you can obtain as <u>input</u> from the user.
Explanation:
The given question is a Problem statement.
Problem statement can be defined as the brief description of an issue that needs to be focused in order to reach the require goal.
So the parts that a problem statement may have include:
- facts and figures (assumptions), that are known in the given scenario.
- data required (solution)to be calculated by focusing on present assumptions (given as input by the user).
So the attributes to be filled into blanks of given statement are assumption, known, input.
i hope it will help you!