Skip to content

Latest commit

 

History

History

grasshopper-personalized-message

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
  • Completed at: 2023-07-06T22:21:43.958Z

  • Completed languages: java

  • Tags: Fundamentals, Strings

  • Rank: 8 kyu

Description

Create a function that gives a personalized greeting. This function takes two parameters: name and owner.

Use conditionals to return the proper message:

case return
name equals owner 'Hello boss'
otherwise 'Hello guest'