Tuesday, March 1, 2011

Subprogram

We created a sub program that counted to 5. Then we made the main program with the counter so you could see the count but you only see the >5 symbol representing the counter program.



This is beneficail because it is a good way to organize and not have a giant program desplayed the whole time. This is especailly useful for those who are messy programers.

1 comment:

  1. This looks like your variable program. How would you use the subprogram input and output to nest this into a main program?

    Please turn off word verification. I'm more likely to leave feedback with that off!

    ReplyDelete