View Single Post
Old 10-09-2004, 05:39 AM   #4 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Quote:
get out of the input section, the user is supposed to hit ctrl-z. this will then display all the averages
This is ancient. And bad design as well. I'll explain.

CTRL^Z was needed in times when there was a switch from cp/m machines to dos. File input needed to terminate with ^z in those days. The ctrl^z mechanism was introduced in dos for compatibility with cp/m systems. It has to do with how files were stored those days: not in bytes, but in sectors. I've forgotten the details long time ago.

Quote:
get out of the input section
There are tons of ways to deal wtih "menu" issues. Yet he manages (the teacher) to concentrate on a plain stupid method.

If you like it, I can build you some app that does ask for input and calculates the average. What is your current level or skill set?
What are the further requirements, if any?
__________________
Valmont is offline   Reply With Quote