Reference no: EM132294576
Engineering Computing Assignment -
Aim - To develop skills on solving engineering problems using C programming concepts.
Learning Outcomes - On successful completion of this course work, the student will be able to solve problems using C programming language involving decision structures, loops, arrays, strings and functions.
NU library is planning to develop an automated system to calculate the fines of the late returned books. Develop a system to help the university to complete the task based on the given details:
Numbers of days delayed
|
level
|
Amount of fine
|
More than 3 but less than or equal to 5
|
1
|
300 biza
|
2
|
350 biza
|
3
|
400 biza
|
4
|
450 biza
|
More than 5 but less than or equal to 7
|
1
|
400 biza
|
2
|
450 biza
|
3
|
500 biza
|
4
|
550 biza
|
1. Develop an algorithm, flow chart and write a C program to perform the following tasks:
(i) Read student ID, level and number of the days of book overdue.
(ii) Calculate the amount of fines to be paid.
2. Develop an algorithm, flow chart and write a C program to check whether a student is borrowing the same book more than 3 times in a semester.
3. Different book titles borrowed by a student in a semester need to be stored in a one dimensional array. Develop an algorithm, flowchart and write a C program to perform this task.
4. Develop an algorithm, flow chart and write a C program to arrange the books borrowed by a student in a semester in alphabetical order.
5. Develop an algorithm, flow chart and write a C program to send a reminder message to a student to return the book/s borrowed using function.
Report should be neatly typed with the following contents. However algorithm and flowchart can be handwritten
(i) Aim
(ii) Algorithm
(iii) Flowchart
(iv) Program
(v) Results(Screen shots)
(vi) Conclusion
(vii) References.