Why does it say compilation error?? [Solved] | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 5

Why does it say compilation error?? [Solved]

https://code.sololearn.com/cw5BLHSgXOZq/?ref=app

6th Oct 2019, 5:36 AM
Johan Martinez
Johan Martinez - avatar
8 Antworten
+ 7
cin >> a >> endl; dont need a ÔÇťend lineÔÇŁ cin >> ÔÇťgradeÔÇŁ >> endl; try to use cout replace with: cout << ÔÇťgrade: ÔÇť << endl; cin >> a;
6th Oct 2019, 5:41 AM
Wardy Spirit
Wardy Spirit - avatar
+ 7
~ swim ~ function­čś│ i thought it is an object
6th Oct 2019, 6:14 AM
ABADA S
ABADA S - avatar
+ 5
~ swim ~ thanks for correcting my information
6th Oct 2019, 6:48 AM
ABADA S
ABADA S - avatar
+ 4
endl is a constant object you cannot do that cin>>endl
6th Oct 2019, 6:11 AM
ABADA S
ABADA S - avatar
+ 1
It is working properly. It has not any error. Try again!
7th Oct 2019, 10:45 AM
Peetam Singh Dhangar
Peetam Singh Dhangar - avatar
0
Thanks! It worked!
6th Oct 2019, 6:17 AM
Johan Martinez
Johan Martinez - avatar
0
­čÖä­čÖä­čÖä­čÖä­čľĽ
6th Oct 2019, 9:16 AM
This App Stinks
0
Sorry it have no any error, try now on SOLOLEARN platform.
6th Oct 2019, 3:08 PM
Pushpendra Singh
Pushpendra Singh - avatar