Write a program to find factorial of a number using functions


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

What are the five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


if there are n nodes in a binary tree, how many null pointers are there?

4 Answers   Hughes,


will it allow to add same value in HashMap class.

0 Answers  


Find out the roles which gives access to all tables in SAP? Thanks in advance.

0 Answers  


given a height balanced tree. If we add one more node , how many nodes gets unbalanced ?

2 Answers   Hughes,






what will be the model paper for the post of assistant programmer in delhi high court

2 Answers  


What is web.configuration? how is it work? & wht is use this?

0 Answers  


< DL Compact > tag is used for

0 Answers  


what is the difference between an application and service??? i mean service which runs as in services.msc.

2 Answers  


can any method return type may be constructor , or that method name allow

0 Answers   HCL,


Write a program which inputs 2 integers representing the sides of a triangle, a and b. Next, write a function which accepts the 2 sides as parameters and returns the hypotenuse of the triangle, c. Use c 2 = a 2 + b 2 To raise a number to an exponent, us e the built - in JavaScript function Math.pow() Let’s say you have a variable x and you want to raise it to the 5 th power, use Math.pow in the following manner... Math.pow( x, 5 ); This will raise x to the 5 th power. To find the square root of a number, use t he built - in JavaScript function Math.sqrt () So to find the square root of x, use Math.pow () in the following manner... Math.sqrt( x ) You must create 2 functions to receive credit for this assignment. Your ‘ main ’ function which is called from the button. And your hypotenuse function. Again, the main function calls upon the hypotenuse f unction when it needs that value. Get the user ’ s input, call the function, output your result. Create your own CSS layout

0 Answers  


Binary tree?

1 Answers   Mascot,


Categories