• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

In this factorial function why using -1

https://www.sololearn.com/learn/Swift/2350/

swiftpythonfunctionsccpplogic
23rd Mar 2020, 1:47 PM
Vek
Vek - avatar
4 Answers
+ 2
Ohh thanks mate
23rd Mar 2020, 2:10 PM
Vek
Vek - avatar
+ 1
But it's not for loop how it will execute till 120
23rd Mar 2020, 1:55 PM
Vek
Vek - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Python coding help
1 Votes
Cities Sylines AI Model Clima 1.0
0 Votes
Comparing Lambda with ES6
3 Votes
What company hired front-end developer after taking course in their website?
0 Votes
What are the best things to practice for better logic building?
0 Votes
Gide me the path of Cyber security
1 Votes
Python project
1 Votes
What music should i listen to while i code?
0 Votes
System designed to help
1 Votes
certificate
0 Votes