A Conversation (part 2)

Specification

Write a program which will hold a conversation with the user. The program should make use of if statements to decide on the response to be given.

Code

4. conversation 2.png


Task

Add a further question 'Which is your favourite sports brand, Nike or Adidas.
Display the slogan of the brand chosen (Just Do It / Impossible is Nothing)


Questions


1. Jane test the program above. She has a pet, so when she is asked the question she answers 'y'. Does she get the correct response?

2. Does it make any difference if Jane enters 'yes' or 'Yes'

3. Draw a flowchart to represent your program