Question: write an algorithm (describe the steps) to calculate the total length of 3 highways Ontario. The three highways in Ontario are Highway 401, Highway
write an algorithm (describe the steps) to calculate the total length of 3 highways Ontario. The three highways in Ontario are Highway 401, Highway 400, and Highway 407. Find the lengths of Highway 401, Highway 400, and Highway 407. Remember to Input the data. The expected output is an average of 3 highways. (It doesn't have to be an actual value, you can enter any value) Find the lengths (in kilometers) of Highway 97, and Highway 99 in British Columbia and Highway 1, Highway 16, Highway 2 in Alberta. Remember to input the data The expected output is an average of 5 highways (It doesn't have to be an actual value, you can enter any value) Find the lengths of Highway 11, Highway 7, Highway 39, Highway 4, Highway 5, Highway 9, Highway 10, Highway 55, Highway 6 in Saskatchewan. Remember to input the data. The expected output is an average of 9 highways. (It doesn't have to be an actual value, you can enter any value) Example Highways: 3 Highways total length xxx 5 Highways total length xxx 9 Highways total length xxx Example of output: Average of 3 highways in Ontario: xxx Average of 5 highways in British Columbia and Alberta: xxx chau XXX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
