#include <iostream>
using namespace std;
#include <string>
int main ()
{
int a;
int b;
int c;
a = 100;
b = 10;
c = 310;
a++; // one is added to "a"
cout << a << endl; // one space
cout << b << endl; // one space - I WANT A DOUBLE SPACE HERE.
cout << c << " Chester Guinyard\n" << endl; // same line
cout << "Good job! Chester " << a << "\n"; // same line
}
How do I double space the (cout << a << endl)
and (cout << b << endl)
#include <iostream>
#include <string>
usingnamespace std;
int main ()
{
int a;
int b;
int c;
a = 100;
b = 10;
c = 310;
a++; // one is added to "a"
cout << a << endl; // one space
cout << b << endl << endl; // two newlines
cout << c << " Chester Guinyard\n" << endl; // same line
cout << "Good job! Chester " << a << "\n"; // same line
return 0;
}