Ferreira Logo

Ferreira's Gentle Sailing Website

BCC Logo Home CIS132 CIS134 CIS158 CIS271 CIT150


Class Policy - Programming

  1. The instructor will be notified via e-mail when the program is complete and executing properly.

  2. All programs must begin with a series of comments to document the program. These comments must include in order the following:
    • Name of the program (source code).
    • Name of the author.
    • The date the program (source code) was written
    • The program assignment number
    • The date the assignment was due.
    • A description of the what the script is designed to do

  3. Each section of the program as well as any significate information is to be commented.

    /*                         Roll_Dice
     *                           by Harry Smith
     *                              April 14, 2012
     *   Program Assignment: P99
     *   Due Date:   April 15, 2012
     *   Program will show the distribution of possible values when rolling 
     *   a pair of dice. It will give a raw number count as well as the 
     *   percent of number of times each possible value was returned.

    #include <stdio.h>
    #include <stdlib.h>

     *                Main Function

    int main(int argc, char *argv[])