A digital publishing platform wants to automatically generate unique catalog keys for books in its database.
Table 1 shows some examples of book details.
| bookID | authorSurname | publisher |
|---|---|---|
| B7 | HAWTHORNE | PENGUIN |
| B12 | ORWELL | HARPER |
| B3 | TOLKIEN | VINTAGE |
A catalog key is made up of the:
bookIDauthorSurnamepublisherFor example:
Write a C# program to create this catalog key.
The program should:
bookID, authorSurname, and publisherkeyYou should use meaningful variable name(s) and C# syntax in your answer.
89 exam-style questions on AQA GCSE Computer Science String handling operations in a programming language. Each one has a worked solution and a mark scheme showing where the marks go.