What does cout<<" "; mean?
Truly a beginner's question.So,if i dont use cout<<" "; the program would be wrong,why is that,why do i need to use cout<<" ";?
1 2 3 4 5 6 7 8 9
|
#include <iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<(n*n)*6;
cout<<" ";
cout<<n*n*n;
}
|
It just outputs a space.
Topic archived. No new replies allowed.