Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in factorial.c #397

Open
ashwek opened this issue Nov 16, 2018 · 1 comment
Open

Bug in factorial.c #397

ashwek opened this issue Nov 16, 2018 · 1 comment

Comments

@ashwek
Copy link
Member

ashwek commented Nov 16, 2018

Describe the bug
in Maths/Factorial/C/factorial.c:
scanf("%d",&n); n variable isn't declared
factorial function is not called in main function

Expected behavior
printf("Factorial = %lld", factorial(n)); should be added
and declare n

@Nandinig24
Copy link

I want to contribute please assign the issue.

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

No branches or pull requests

2 participants