Assessment 2
Students will have to write a function to accept a parameter, and returna value based on the contents of the parameter sent in.
Instructions
Using an HTML file, use the <script> block at the top of the page to write afunction that will evaluate the incoming parameter and return a different valuebased on that parameter.
Please refer to the rubric at the end of this document for evaluation details.
Requirements Function and variables should be named something meaningful The evaluation of the parameter coming in and its resulting value should makesense Receive the returned value on a line of JavaScript outside of the function

![[Solved] ICT442- Assignment2-Write a function to return a value](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] ICT442- Assignment1- A loop that increments the numeric value of a pre-defined variable by every iteration](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.