Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C PROGRAMMING LESSON TERM PROJECT Purposes : To be familiar with the syntax and structure of C programming. To learn problem solving techniques using C.
C PROGRAMMING LESSON TERM PROJECT
Purposes :
To be familiar with the syntax and structure of C programming.
To learn problem solving techniques using C.
Instructions:
Write comments to make your programs readable.
Use descriptive variables in your programs (the names of the variables
should show)
Program List :
An apartment management system will be developed.
Create a menu for your program. The menu will consist of 8 options.
"Select 1 for new tenant registration."
"Choose 2 to deregister."
"Select 3 to update student information."
"Select 4 to list student information in A-Z order."
"Select 5 to list student debt information."
"Choose 6 to pay rent."
"Choose 7 to pay electricity debt."
"Select 8 to log out."
ID, TR, name, surname, gender, date of birth, telephone, e-mail, apartment for each student staying in the apartment.
check-in date, check-out date, deposit fee, 12-month rental status, 12-month electricity
invoice status and electricity bill debt information for 12 months will be kept. Monthly dormitory fee
It is 900 per month for the student.
The student's id number and tc number must be unique.
A student should create a text file and enter the information of 10 students. to this text file
The student will be added by calling the Add Student() function.
For the student to be added with the Add student() function, id, tc, name, surname, gender, date of birth,
phone, e-mail, check-in date, check-out date, deposit fee, rent for 12 months
status, electricity bill status for 12 months and electricity bill debt information for 12 months
and the entered information will be saved in the student text file.
The information of the students whose TC number is entered with the StudentList() function is in the student text.
will be read from the file and listed.
The information of the students whose TC number is entered with the Delete Student() function is the student text.
will be deleted from the file.
The information requested by the user of the student whose tc number is entered with the studentGuncelle() function
The student will be updated in the text file.
The total rent and electricity debts of a student are displayed by calling the debtList() function.
debt will be reduced.
With the rentOde() function, the id of the student whose rent is to be paid is used for which month the payment is made.
If it is desired to be done, the rental fee of that month will be paid.
All given functions must be in your project and their function must be performed correctly.
If necessary, the function can be written.
You can define the lease status and invoice status using an array.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started