#include <stdio.h>

void printhello(void);//prototype for printhello()
void printgoodbye(void);//prototype for printgoodbye()

void main()
{
int i;
printf("Welcome to my program\n\n");
printhello();			//call function
printf("End of program\n\n");
printgoodbye();			//call function
}

void printhello()			//new function
{
printf("Hello\n\n");
}

void printgoodbye()			//another new function
{
printf("Goodbye cruel world!");
}

