Answer:
Kindly check attached picture
Explanation:
Flowchart gives a graphical representation of a steps taken towers the execution of a program.
In the flowchart attached, A variable was initialized and set to 0 ; then a for loop was used to iterate integers 1 up to 10, for each number. It is added to the initialized variable sum until all the 10 integer numbers are added. The the average is obtained by dividing by 10.
Answer:
A) The law requires that when I get to an intersection, I have to allow a right-of-way to the vehicles approaching from the right.
B) if there is an officer directing traffic, then I have to follow the directives of the officer.
Cheers!
A security certificate is used to ensure that your web browser and the server you are connected to have a tamper-free, secure connection.
Answer:
An algorithm is a specific procedure for solving a well-defined computational problem. ... It requires an understanding of the alternatives available for solving a computational problem, including the hardware, networking, programming language, and performance constraints that accompany any particular solution.
Answer:
Task 1: T = c + (2.5n(A/M))+ m(1+r/100)ⁿ
Task 2: In both 5 & 10 years, Car A is more economical
Task 3: Printing returns the answer in a different dialogue box while return displays the answer in the same window.
Explanation:
Task 1:
C = Cost of car
n = Number of years
m = Maintenance Cost
r = Rate
M = Mileage per gallon
A = Annual mileage
T= Total Cost
T = c + (2.5n(A/M))+ m(1+r/100)ⁿ
Task 2
Car A In 5 years; T = 20000+ (2.5*5(15000/25))+1300(1+0.15)⁵= $30115
Car B In 5 years; T = 30000+ (2.5*5(15000/32))+1000(1+0.10)⁵= $37470
Therefore in 5 years, Car A is more economical.
Car A In 10 years; T = 20000+ (2.5*10(15000/25))+1300(1+0.15)¹⁰= $40259.225
Car B In 10 years; T = 30000+ (2.5*10(15000/32))+1000(1+0.10)¹⁰= $ 44312.49
Therefore in 10 years, Car A is still economical.
Task 3: Printing returns the answer in a different dialogue box while return displays the answer in the same window.