Activity 2 - Name and selection programme
Create the following programme, called 'Name and selection':
Ensure that the programme has an author and a title in the comments.
- The programme will ask the following question:
- What is your name? (Name will be saved as a variable)
- The programme will print the following multiple choice question:
Select the fruit that you like the most:
- Apples
- Oranges
- Grapes
- If 1 is selected display: Name likes apples.
- If 2 is selected display: Name likes oranges.
- If 3 is selected display: Name likes grapes.
End of programme.