Open the file named Q05b in the code editor.
Write a program to determine a baggage classification based on the weight entered.
The program should:
No validation of input is required.
Save your amended code as Q05bFINISHED with the correct file extension for the programming language.
| Baggage weight (kg) | Text output message |
|---|---|
| More than 23 | Heavy bag fee applies |
| More than 0 | Standard baggage |
| All other input | Invalid weight |
62 exam-style questions on Edexcel IGCSE Computer Science Develop code. Each one has a worked solution and a mark scheme showing where the marks go.