Skip to content

jamesgreygoose/MicrowaveMayhem

 
 

Repository files navigation

MicrowaveMayhem

Codewars style problem (8KYU!)

//It is lunchtime at the School of Code. Your lunch needs to be microwaved. //Will you survive the microwave queue? //You are at the end of the lunch queue. Everyone in the queue will need 2 minutes //to microwave their lunch. //In an array, you will be told the number of people in the queue in front of you, //How long your lunch will take to cook (mins), and the number of minutes until you //pass out from hunger. Write a function to work out if you can survive the queue. //Return "I will survive!" if you will, otherwise, return "I am too hungry to survive."

About

Codewars style problem (8KYU!)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.5%
  • HTML 20.5%