Javascript class. 4.4 modify this script to use promt to input a

4.4 modify this script to use promt to input a number n that is the number of the fibonacci number as output

<!–

var i;

var fib = []; 

 

fib[0] = 0;

fib[1] = 1;

for(i=2; i<=10; i++)

{

    fib[i] = fib[i-2] + fib[i-1];

   document.write(fib[i]);

}

4.5 Input: A text string, using prompt

    Output: either”valid name” or “invalid name”,depending on whether the input names fit the required format, which is 

Last name, first name, middle initial 

where neither of the names can have more than 15 characters

 

 

4.6 Input : A line of text, using prompt.

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

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.