dimanche 12 avril 2015

Hello.Please help me to write this code as part of an assignment


Vote count:

0




Please help me to write this code as part of an assignment I'm not sure if you will be able to assist me with this but it would be great if you could.


Q1 - Fibonacci series is defines as a series of numbers in which each number (Fibonacci number) is the sum of the two preceding numbers. The simplest is the series 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, etc. Write a JavaScript code that asks the user to enter a number and calculate the Fibonacci series for this number.


Q2-Write a JavaScript program to read 10 positive values from the user, and then sum only the multiples of 3 and 5. a. Run your program with print out a message about the sum. b. Insert screenshot showing the program prompting the user for the number.



asked 16 secs ago







Hello.Please help me to write this code as part of an assignment

Aucun commentaire:

Enregistrer un commentaire