Given example program prologue:

//********************************************************************
// friends.cc
//    Author: Joe Student
//    Date: November 15, 2000
//    Class: CS 171-01, Professor Havill
//    Purpose: This program creates an address book.
//    Input: (from standard input) first names, last names, phone
//            numbers, and birth dates of a group of people
//    Output: (to an output file) an alphabetical listing of address
//            book entries
//********************************************************************

My program prologue for prime1.cpp

//====================================================================
// prime1.cpp
//    Author: Thomas C. Bressoud
//    Date: 21 January 2006
//    Class: cs173, Professor Bressoud
//    Description: Find the first n such that p_n = p1*p2*p3*...*pn + 1 
//                 is not prime. (p_1 = 2, p_2 = 3)
//    Algorithm: 
//      Set product to 6 (p_1 * p_2)
//      Set n to 2
//      Set found to false
//      while not found
//        Increment n
//        Set p_n to product + 1
//        If p_n is prime, set found to true
//        Set product to product times p_n
//      Output n and p_n
//
//    Input: none
//    Output: n and p_n that satisfy the problem description.
//====================================================================

What I got:

-----
// Joe Student is writing a program to determine the first prime number
// that does not fit the given equation.
-----

and

----
/**
*** Joe Student
*** Homework 1
*** Problem 1
*** 1/30/06
*** Bressoud
**/

Example function prologue:

//******************************************************************
// void WriteEntries( const Entry addressBook[], int length,
//                    ofstream& friendFile )
// Purpose: Writes all entries to the file friendFile
// Output: (to an output file) all address book entries
// Precondition: length <= MAX_FRIENDS
//               && addressBook[0..length-1] are assigned
// Postcondition: Contents of addressBook[0..length-1] have been
//                output to friendFile
//******************************************************************

My function prologue:
//------------------------------------------------------------------
// bool isPrime(int number)
//
// Description: isPrime returns a boolean indicating whether the
//              given integer number is prime or not.
// Precondition: number > 1
// Postcondition: true if number is prime, false otherwise
//-------------------------------------------------------------------

What I got:
----
----

Readability:

Compare

int main(){

int p[10]= {2,3,7};	
int n=3;
while( n<10)
{
bool prime= false;
while( prime ==false)
{
int k = 0;
p[n]= store + 1;
int num1= p[n]/array[k];
float num2= float(p[n])/ array[k];

if(num1 != num2)
{
cout << p[n] << " & " << n << endl;
prime= true;	
}
}

with

int main() {

  int p[10]= {2,3,7};	
  int n=3;
  
  while( n<10) {
    bool prime= false;
    while( prime ==false) {
      int k = 0;
      p[n]= store + 1;
      int num1= p[n]/array[k];
      float num2= float(p[n])/ array[k];

      if(num1 != num2) {
        cout << p[n] << " & " << n << endl;
        prime= true;	
      }
    }
  }
}


