Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Your homework is to create a program to simulate a library. For that, you have to create a massive(array?) whose elements are as follows: *see the first few lines of the example code - struct raamat{*
  2.  
  3. You have to create a program which would simulate the lending and returning of books
  4. Program description:
  5. - Reads RAAMATUD.TXT file for a massive(array?)
  6. - After that you have to create a cycle where:
  7. - You have to display the database of the library with a choice for the user to sort it how he pleases
  8. - After that the user has to make a choice whether to lend a book, return it or go into the next repetition (of the cycle)
  9. - When lending, only show the books that are still in the library ie. not lent
  10. - When returning, only show returnable books
  11. The result of the program:
  12. - The user can simulate a database of the library, see information about those books; lend and return them
  13.  
  14. The grade is for:
  15. ...
  16.  
  17. In the assignment, a student has to demonstrate the understanding of:
  18. -Functions
  19. -Cycles
  20. -Booleans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement