A garden center wants to create unique stock codes for the plants they sell.
Table 1 shows some example plant details.
| plantID | plantName | supplier |
|---|---|---|
| P1 | LAVENDER | GREENGLOW |
| P2 | MARIGOLD | BLOOMTIME |
| P3 | BEGONIA | SUNGROW |
A stock code is made up of the:
plantIDplantNamesupplierFor example:
Write a C# program to create this stock code.
The program should:
plantID, plantName and suppliercodeYou 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.