Science, asked by REETAJHA86, 1 year ago

How to write an algorithm for going to school

Answers

Answered by dhiverma
15

Answer:

An algorithm is a list of steps to solve a problem (or complete a task?)

written in "plain English". The algorithm’s steps should be written out and

numbered in the order in which they are to be executed.

Algorithms should be as extensive as necessary to allow one (you?) to

complete the task. Your algorithm is not only going to tell your program

what to do, but how to do it.

Example Algorithm --- Going Home

Algorithm 1: Walking

1. Leave classroom

2. Turn right out of school building

3. Walk 1.2 miles

4. Turn right on street

5. Go to the 4th house

Algorithm 2: Take the Bus

1. Go to the bus area

2. Get in the right bus

3. Go to house

Explanation:

Answered by AnveshD
3

Answer:

1: Walking

1. Leave classroom

2. Turn right out of school building

3. Walk 1.2 miles

4. Turn right on street

5. Go to the 4th house

Algorithm 2: Take the Bus

1. Go to the bus area

2. Get in the right bus

3. Go to house

Explanation:

Similar questions