C++ Template

   //////////////////////////////////
   //
   // Author : 
   // Purpose: 
   /* Design (algorithm): (the 'recipe': the steps to solve the problem)      
      1.
      2.
      3.   

   */
   
   // need this for cin and cout  
   #include <iostream>  
   
   // prototype list for function used
   returnType   functionName( parameter list (type));
   
   // need this to avoid std::
   using namespace std;    

   // always starts with main() - note lowercase
   int main ( )
   {
     // Variables hold data and information(int, double, string, char, bool)
     int x;
     double d;
     string s;
     
     // comment describing each step: code written according to algorithm above
     //1.
     
     
     //2.

     //3.

     
     // this is always our last statement - returns to the op sys
     return 0;
   }

   
   // functions here
   returnType   functionName( parameter list (type and name))
   {
   
   
   }