+ 1

why my codes always unqualified?please someone help me

#include <iostream> using namespace std; int main() { int x = (5 + 2) *2; cout << x; return 0; } #include<iostream> using namespace std; { int x=19*19+19; cout<<x; return 0; }

1st Mar 2017, 12:02 AM
blue pillow
4 Réponses
+ 10
The top half looks alright. What are you trying to do with the bottom half?
1st Mar 2017, 1:57 AM
Jafca
Jafca - avatar
+ 1
best answer .Becouse you are unqualified
1st Mar 2017, 5:31 PM
master
+ 1
try removing the other #include <iostream> using namespace std;
2nd Mar 2017, 8:47 AM
Vito
Vito - avatar
+ 1
#include<iostream> using namespace std; { int x=19*19+19; cout<<x; return 0; } in this one you are missing int main ()
6th Mar 2017, 10:11 PM
MilaGroz