Im just going over a tutorial. I have a test tomorro and this particular part is giving me problems.
Im not sure how to do a function with 2 arguments.
Heres the question.
- Write a function with two arguments, low and high, say, that checks that they are both between 0 and 50, and that low is less than high. A value true is returned if these conditions are satisfied, otherwise a value false is returned. The main script code should prompt for two numbers, use the function to see if they satisfy the conditions and write the two values and the result of the function. Use an HTML page that has the title “Check Low and High”, has a suitable heading including your name, and then has the script.
Could someone quickly make this up so i can learn from the code.