Write test and debug if necessary javascript for the


Write, test and debug (if necessary JavaScript for the problems that follow

When required to write a function, you must include a script to test the function with at least two different data set

In all cases, for testing , you must write an HTML file that refernces the JavaScript file

1- Output : the first 20 fibonacci numbers which are defined as in the sequence
1,1,2,3,....

where each number in the sequence after the second is the sum of the two previous numbers. You must use document. write to produce the output

2- Modify the script of Exercise 1 to use prompt to input a number n that is the number of the Fibonacci number requied as output

3- Input : A line of text, using prompt.

Output: The words of the input text, in alphabetical order.

4-Modify the script of Exercise 3 to get a second input from the user which is either "ascending" or "descending" Use this input to determine how to sort the input words

5- Function: reverser
Parameter: A number.
Return : The number with its digits in reverse order.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: Write test and debug if necessary javascript for the
Reference No:- TGS01038592

Expected delivery within 24 Hours