I'm pretty new to C programming and have just started a C programming module on my uni course and I am looking for some guidance on an assignment I have recently been set.
The specification is as follows:
You are required to write a C program suitable for aiding the calculation of travel expenses by the finance department of a small company. Your application is to be produced in simple form (Part 1) and then modified (Part 2) once examination and approval by your tutor is given.
Requirements for part 1
Your application should allow the population of a chart containing the distances in miles (or kilometers) between points. The chart should cater for 10 separate points. On completion of the entry of the distances the application should display a menu from which options can be selected. These options are:
1. The user should be able to display the distance between two valid points (e.g. point 1 and point 6) input by the user
2. The user should be able to calculate the cost of a journey between two valid points e.g. point 1 and point 6 at a predefined rate of 40 pence per mile. The output should be displayed in a suitable format.
3. The user should be able to display to the screen the complete mileage chart in a format similar to the one below( see fig 1).
I am just looking for some general pointers in the right direction if possible as I am struggling starting it.
Thanks for looking.