Interactive Ceilidh Course "pr2" Unit "5" Exercise "cg"

Centre of gravity

To solve the exercise you should first read the question for this exercise very carefully; it defines exactly what your program has to do. The sequence and types of the inputs is very important. The output must contain all the suggested information for the automatic assessment to work.

You may find the following files helpful; you may wish to copy them to your own floppy disc using the "Save as ..." option from the "File" pull-down menu. The program you develop will probably need to be in a file named "prog5cg.C".

A few system parameters:

To submit work for assessment by Ceilidh, you will need a Ceilidh login name and password. If you already have these, you may continue. If not, go to the registration page.

You may wish to email a comment to the "pr2" course leader Athanasios Tsintsifas at azt@cs.nott.ac.uk

To see a summary of the marks for the cohort, use the following form.

There are two ways to complete the exercise.

First method: Enter your Ceilidh logname and password on the form, and press the "Go" button.

Your Ceilidh login name (upper case?):
Your Ceilidh password:

Second method:

Your Ceilidh login name (uppercase?):
Your Ceilidh password:
Enter filename (expected "prog5cg.C"):

Return to the Ceilidh home page Page created Thu Jun 11 13:04:23 BST 1998 Copyright Eric Foxley