• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Simple addition

Is it correct program #include <iostream> using namespace std; int main() { int a=5; int b=5; int sub=a-b; cout << sub; } https://www.sololearn.com/discuss/1965449/?ref=app https://code.sololearn.com/W6B5W9j8Mf8f/?ref=app https://www.sololearn.com/discuss/1316935/?ref=app

c++
13th Sep 2019, 3:07 PM
Pukhtoon Khan
Pukhtoon Khan - avatar
1 Antwort
+ 1
The code above is correct right...
13th Sep 2019, 3:10 PM
KfirWe
KfirWe - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Salut tout le monde
2 Votes
Please click me
0 Votes
Hello !
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes