Professional Documents
Culture Documents
1. (a) Write statements to prompt a user to input their favourite food and favourite colour
and display this information in the format "My favourite food is xxxx and my favourite
colour is yyyy", using + symbols to concatenate the separate strings.
(b) Display the same information using the comma separator instead of + symbols.
2. (a) Write statements to ask the user to enter their name and telephone number and then
print this information on two separate lines, with a blank line in between.
(b) Print the name and telephone number on the same line. separated by a tab
character.