Skip to content

ADDED PROGRAM TO FIND A FACTORIAL OF A NUMBER #23

Open
abhinav2712 wants to merge 3 commits intoadarsh-gupta101:mainfrom
abhinav2712:patch-1
Open

ADDED PROGRAM TO FIND A FACTORIAL OF A NUMBER #23
abhinav2712 wants to merge 3 commits intoadarsh-gupta101:mainfrom
abhinav2712:patch-1

Conversation

@abhinav2712
Copy link
Copy Markdown

HI!
I added a program in JS file to find a factorial of a number.
Happy Hacktoberfest !!

@adarsh-gupta101
Copy link
Copy Markdown
Owner

Instead of console logging can you use return statement?

Copy link
Copy Markdown
Owner

@adarsh-gupta101 adarsh-gupta101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use return statement

@abhinav2712
Copy link
Copy Markdown
Author

@adarsh-gupta101 Yeah, did the changes, let me know if they are visible...
And I request to add this PR a label of hacktoberfest!
thank you

@adarsh-gupta101
Copy link
Copy Markdown
Owner

sure thing 👍

@adarsh-gupta101
Copy link
Copy Markdown
Owner

@abhinav2712 can you use a function taking an argument...

@abhinav2712
Copy link
Copy Markdown
Author

@adarsh-gupta101 I just updated the factorial file and made the function like you asked, Let me know if changes are reflected and also, It would be great if you add hacktoberfest label on this PR
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants