0
In the basic program when i add the i love programming to Hello world then it only shows the Hello world. What is wrong?
2nd line in the basic program does not show
8 Respuestas
+ 2
go back and check the original codes for corrections and try it again.
0
Edit your question and copy-paste your code please.
0
#include<iostream>
namespace std;
int main()
{ cout <<"Hello world"\n;
cout <<"I love programming";
0
return0;
}
0
\n is a character. You should include it in the string:
cout <<"Hello world\n";
By the way your code is not compiled, you see only the compiler error message.
0
thanks
0
all good now. thanks
0
In what language?