S

Sandeep Kumar Ptel's My Small Tutorials

Provides tutorials on HTML, css, java script, java,tutorial
savvy

  • Rated3.2/ 5
  • Updated 8 Years Ago

questions -

Updated 8 Years Ago

Q. Find Factorial of a number?//0 =1 , 1 =1 , 2 =2 , 3 =6 function fact(n){ return n === 0 ? 1 : n *fact(n-1) ;} Q. Find nth Fibonacci number? //0,1,1,2,3,5,8,13,21 function fib(n){ return n < 1 ? 0 : n
Read More
...