JS Coding Task-5 (Functions)/Introduction to Functions/app.js
/*Problem Name: IntroductionToFunction
Write a function with the name Double.
Create a variable answer as numeric data type.
Function takes paisa as input parameter.
Multiply paisa with 2 and store the result in answer.
Return answer. */
Problem Name: IntroductionToFunction
Write a function with the name Double.
Create a variable answer as numeric data type.
Function takes paisa as input parameter.
Multiply paisa with 2 and store the result in answer.
Return answer.
Problem Name : IntroductionToFunction Write a function with the name Double . Create a variable answer as numeric data type . Function takes paisa as input parameter . Multiply paisa with 2 and store the result in answer . Return answer .
function Double(paisa) {
    var answer = paisa *2;
    console.log(answer);
    return answer;
}
function Double ( paisa ) { var answer = paisa * 2 ; console . log ( answer ) ; return answer ; }
Problem Name: IntroductionToFunction
Write a function with the name Double.
Problem Name : IntroductionToFunction Write a function with the name Double .