#include<stdio.h>

/* 
 * Terry Harvey CISC105 section 010 TA Quantox Smith 
 *  
 * Program to demonstrate the three parts of writing my own function.
 */


/* This function takes an integer parameter and prints it to the
 *  screen. 
 */
void printAnInteger(int someInteger); //This is a prototype.

int main(){

    int i;
    i = 7000;

    printAnInteger(i); //Function call: go to code inside the function
                       //named. Note that there is no type inside the
                       //parameter list.

    printf("\n");
    return 0;
}

//This is a function definition:

/* This function takes an integer parameter and prints it to the
 *  screen. 
 */
void printAnInteger(int someInteger){
    printf("%d", someInteger);
    return;
}
