A marine research laboratory wants to generate unique tracking codes for the marine specimens they catalog.
The table below shows some example specimen details.
| specimenID | speciesName | oceanZone |
|---|---|---|
| S82 | OCTOPUS | ABYSSAL |
| S95 | JELLYFISH | PELAGIC |
A tracking code is made up of the:
specimenIDspeciesNameoceanZoneFor example:
Write a C# program to create this tracking code.
The program should:
specimenID, speciesName and oceanZonecodeYou 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.