Code2pdf 672e03213cbcc
Code2pdf 672e03213cbcc
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 3
Enter customer ID to delete:
================================================================= RESTART: E:\Notepad++\new 16.py ==============================
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser11
Enter customer name: atharva
Enter customer phone number: 9004045557
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 1
Customer Records:
ID: newuser11, Name: atharva, Phone: 9004045557
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser12
Enter customer name: siya
Enter customer phone number: 30302083
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser10
Enter customer name: jay
Enter customer phone number: 99889786
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 3
Enter customer ID to delete: newuser11
Customer with ID newuser11 deleted successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 1
Customer Records:
ID: newuser12, Name: siya, Phone: 30302083
ID: newuser10, Name: jay, Phone: 99889786
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 4
Enter customer ID to search: newuser10
ID: newuser10, Name: jay, Phone: 99889786
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 5
Enter customer ID to update: newuser10
Enter new name: jayesh
Enter new phone number: 9676554568
Customer with ID newuser10 updated successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 6
Sorted Customer Records:
ID: newuser10, Name: jayesh, Phone: 9676554568
ID: newuser12, Name: siya, Phone: 30302083
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 7
Exiting program.