0
Hello, Please I tried printing a variable value along with a string with cout. Cout<< var "Is the answer"; help please
4 Réponses
+ 3
cout << var << " is the answer.";
+ 2
cout << var << " is the answer" << endl;
0
u do not have to write << end .it is like \n. for next line.
- 1
int main(){
cout<< "Hallo";
}
is it like that ?