Skip to content

Commit 27cf556

Browse files
committed
Rent Book Module #1
1 parent 4f20095 commit 27cf556

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Project-File/Library-Management-System.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,19 @@ void listBook(){
803803
}
804804

805805
void rentBook(){
806+
807+
system("cls");
808+
fflush(stdin);
809+
810+
// check if user exists
811+
812+
// check if book exists and quantity is > 0
813+
814+
// check if user has enough money for the book (book price)
815+
816+
// global variables for storing records
806817

818+
// new rental file for data storing
807819
}
808820

809821
void searchBook(){

0 commit comments

Comments
 (0)