This was not fitting in question column so I pasted it in discription | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

This was not fitting in question column so I pasted it in discription

include <iostream> using namespace std; int main() { int a = 23; int b = 45; int sum = 23+45; int sums = 45+23; if (a+b>b+a) { // 8 th maths cout << " done wrong "endl; if (a+b>=b+a){ cout << "communicative property"endl; return 0; }

21st Jun 2018, 2:39 AM
Superman Batman
Superman Batman - avatar
1 Antwort
+ 5
Corrected one: https://code.sololearn.com/c7KEqX8Quq8L/?ref=app • It's #include not just include. • The first and second curly braces aren't closed. • The insertion operator << is missing before endl in lines 11 and 13.
21st Jun 2018, 2:45 AM
Harsh
Harsh - avatar