One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| //1. Write a function average that takes two numbers as input (parameters), and returns the average of those numbers. | |
| function average(num1, num2) { | |
| return (num1 + num2) / 2; | |
| } | |
| //2. Write a function greeter that takes a name as an argument and greets that name by returning something along the lines of "Hello, <name>!" | |
| function greeting(name) { | |
| console.log('Hello ' + name + '!'); | |
| } |