title: Creating a loop and calculating the average at the end
body: <p>I have an assignment as follows</p>
  
  <blockquote>
    <p>Write a program that repeatedly asks the user to enter a number, either float or integer until a value -88 is entered. The program should then output the average of the numbers entered with two decimal places. Please note that -88 should not be counted as it is the value entered to terminate the loop</p>
  </blockquote>
  
  <p>I have gotten the program to ask a number repeatedly and terminate the loop with -99 but I'm struggling to get it to accept integer numbers (1.1 etc) and calculate the average of the numbers entered.</p>