A Simple Program Assignment Help

Assignment Help: >> Assembly Language Programming - A Simple Program

A Simple Program:

As stated before, a program is a sequence or series of very simple commands or instructions. A real world instance program might be the problem of crossing a busy street.

Step 1

Walk up to the traffic lights and stop.


Step 2

Look at the traffic light.

Step 3

Is your light green?

Step 4

If the light is red, goto step 2. (or else continue to step 5)

Step 5

Look to the left.

Step 6

Are there cars still passing by?

Step 7

If yes, goto step 5. (Otherwise continue to step 8).

Step 8

Look to the right.

Step 9

Are there cars still passing by? (By now there shouldn't be any).

Step 10

If yes, goto step 8. (Otherwise continue to step 11).

Step 11

Proceed across the street, carefully.

Program to fill a glass with water from a tap
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd