Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 385 Bytes

convert-to-emoji-face.md

File metadata and controls

15 lines (13 loc) · 385 Bytes

Write a function called convertToEmojiFace which takes the temperature in Celsius and returns

  • "🥵" if temperature in Celsius is above 30
  • "😊" if temperature in Celsius is between 12 and 30
  • "🥶" if temperature in Celsius is below 12
// Write your function here...
...
...

// Call your function here passing 30 and print 
// the resulting emoji to console...
...
...