• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
0

Which of this codes do you consider better?

https://code.sololearn.com/cEtuZfs9nsmQ/?ref=app https://code.sololearn.com/cku4mK79YU3V/?ref=app

c++questioncomparisonopinion
27th Apr 2018, 10:46 PM
David Escalante
David Escalante - avatar
3 Réponses
+ 1
I think first code is slightly better.
28th Apr 2018, 4:07 AM
Ali Zhussupov
Ali Zhussupov - avatar
0
Chek out my Fibonacci function https://code.sololearn.com/c07kHBLrF9NE/?ref=app
28th Apr 2018, 4:05 AM
Ali Zhussupov
Ali Zhussupov - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Programming Language
0 Votes