Every Tom, Dick and Harry
Names = [“Tom”, “Dick”, “Harry”]
| a)Add 5 extra names from your class into the array above. b)Create a loop to output all of the names (you can use a while or a for loop) c)Alter your code so it will print “Hello Tom”, “Hello Dick” etc |
![]() |
You need to log in or create an account to submit code!
Output: (clear)












