Question

Write a program using if- then loop for issuing general books and not reference books in a library

23 Apr 2024
Answer :
Word Count : 536

To create a program for issuing general books (excluding reference books) in a library using an if-then loop, we need to outline the process:

1. Define the list of available books in the library, distinguishing between general books and reference books.
2. Prompt the user to enter the title of the book they want to borrow.
3. Check if the entered book title is a general book or a reference book.
4. If it's a general book, issue the book to the user. If it's a reference book, inform the user that reference books cannot be borrowed.
5. Repeat the process until the user decides to exit.

Here's a Python program implementing the above steps:

```python
# Define

___ _______ ______ __________ ______ _______ _________ ___ ____ _______.
______ _______ ___ ___ _______ _______ ______.
___ _______ ________ ____ ___ _______ _______ _________ ________.
___ ____ _______ ______ __________ _____ _________ ________ ___ ________ __________.
__________ __________ ________ __________ __________ ___ _________.
_______ _________ ______ __________ ___ _________ ________ _______ __________.
_________ __________ _______ ________ _______ __________.
______ ____ _________ _________ ____ _________ ______ ___.
______ _______ ______ ________ _________.
___ ___ _________ __________ ________ ___ _________ ______ _________.
___ ____ __________ ________ ___.
____ _______ ___ _________ _______ _____ _________ ___ _________ _______ ________.
____ ___ ___ __________ _________ ____.
______ ________ ___ ___ _________ _____ __________ _________ _____.
__________ _________ ______ ________ _________ ___ ______ __________ __________ ___ __________.
________ ___ ____ ___ ________ ______ _______.
______ _______ _________ __________ ________.
__________ _________ ___ __________ ______ __________ __________ __________ ______ ______.
____ ___ ___ _____ _______ _____ __________ _________ _____ _________ _______.
________ ________ ___ ______ _____ _________ _____ ____ ____ ____ _____.
_______ _________ ________ _______ _____ __________ ___ _____ ___.
________ ___ ______ ____ ______ ____ ______.
________ ______ _______ ______ _________ ________ ___ ___ _________ __________.
_______ __________ ___ _____ _______ _____ ___ __________ _________ _________ __________.
__________ ____ ____ __________ _____ _____ ___ _______ ___ _________.
_______ ______ _______ ____ _________ ____ _______ ____ ___ ____.
____ ______ _____ _______ _____ __________ _________ _________.
_____ _________ _____ ___ ________ __________ _______ _________ ________ ____ ____ _____.
_______ _________ _______ _______ ___ _____ ______ ___ ___ ________ _____.
___ _______ _____ _______ ____ ____ _________ _______.
_______ ______ ______ ________ ___ __________ _____ _______ ______ _________ __________.
_____ _________ ____ _________ ____ _______.
_____ ____ ______ ____ _____.
________ ____ ___ _______ _______ __________.
____ ___ ____ ___ ____ ______.
___ __________ ___ _____ ________ ______ ____ __________ ____ ____ ____ ____.
_______ ________ __________ _______ ____.
_________ _______ __________ __________ _____ ______ ___.
_______ ____ _______ _______ _________ ___ _______ ___ ______ ______ ___ _________.
__________ _______ ___ ________ ________ ______ _________ ______ ______ ______ __________ ________.
_____ ___ _____ _____ ____ ______ ______ _______ _____ _____.
______ ___ ____ _______ ______ ___.
________ _______ __________ ______ ________ _________ __________.
_____ ___ ______ ___ ________ _______.
______ ________ _____ _______ ________ __________ ______ ________ _________ _________.
____ ________ ______ ________ ___ ____ _____ ____ _______ _________ ______.
________ _____ ________ __________ ______ ______.
__________ _______ __________ ________ _____ ______ _____ ______ _________.
______ ____ ___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MLI 7 2024 - Write a program using if- then loop for issuing general books and not | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→