Resources
- //PROCESS: Functional programming
- //PROCESS: Functions: Definition, trigger, or reference?
- //STYLE: Use function pipelines
Saving your work
Use Save as...
to save the
empty template as
"2.13S-HighOrLow-LastName.html
"
in your Computer Programming 12 directory.
The assignment
Here is what the initial program does:
Guess High or Low!
It is the online game where you win nothing! Even if you guess correctly!
I am thinking of a number from 1 to 20. What is it?
Your guess:
?
Type in a number to start!
Now convert this program from a sequential program into one that uses function pipelines.