Article Index

Function to print out the contents of a record.

#include "project.h"

void DisplayRec(COURSE* record)
{
	printf("\n\nNumber: %s", record -> number);
	printf("\nTitle: %s", record -> title);
	printf("\nCredit: %d", record -> credit);
	printf("\nLab: %d", record -> lab);

	return;
}
Log in to comment