title: (Javascript) I need to make a function that will take 180 + user inputted number \ 3 then rounded to hours and minutes
body: <p>Hello I'm almost finished with this assignment but I need to make a function that will take 180 + a variable divided by 3, then answer would then be outputted in hours and minutes not just minutes.</p>
  
  <p>So instead of the output being 72 it would be 1 hour and 12 minutes.
  This one has me stumped since the time thing is a curveball for me, any help would be appreciated!</p>
  
  <p>Here's my code, I can't get it to work:</p>
  
  <pre><code>var pets = prompt ("How many pets do you own?");
  Function GetTime() {
  Math.floor(180 + pets/60) +" Hour "+ pets%60 + " Minutes.";
  }
  document.write GetTime;
  </code></pre>