An eco-friendly courier service tracks a driver's daily carbon emissions savings (in grams of CO2) across three delivery routes.
If a driver commits any traffic violations during their routes, their final emissions savings are reduced.
Write a C# program to calculate the final emissions savings.
You should assume that three integer variables called trip1, trip2, and trip3 have already been declared and assigned values representing the carbon savings of the three individual routes.
Your program should:
You should use meaningful variable names and correct C# syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.