An agricultural research laboratory wants to create tracking codes for soil samples collected in the field.
The table below shows details of some of the samples:
| sampleID | location | soilType |
|---|---|---|
| S9 | DEVON | PEAT |
| S12 | YORKSHIRE | SILT |
| S15 | KENT | SAND |
A tracking code is made up of the:
sampleIDlocationsoilTypeFor example:
Write a VB.NET program to create the tracking code for a soil sample.
The program should:
sampleID, location, and soilTypetrackingCodeYou should use meaningful variable name(s) and VB.NET 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.