Confused, Where do I put it?

A few hours ago I bought a C++ Programming book, called C++ Programming in easy steps by Mike Mcgrath. Im stuck on page 17.

My guide told me to write this in notepad,

#include <iostream>
using namespace std ;


int main()
{
char letter ; letter = 'A' ; //Declared then initialized.
int number ; number = 100 ; //Declared then initialized.
float decimal = 7.5 ; //Declared and initialized.
double pi = 3.14159 ; //Declared and initialized.
bool isTrue= false ; //Declared and initialized.
return 0 ;
}

And then it said to "Now insert statements to output each stored value." It showed this.

cout << "char letter: " << letter << endl ;
cout << "int number: " << number << endl ;
cout << "float decimal: " << decimal << endl ;
cout << "double pi: " << pi << endl ;
cout << "boolisTrue:" << isTrue << endl ;

Im wondering where to put that, could anyone help me on where to put this?
Before the return statement and after the variable declarations.
Topic archived. No new replies allowed.