title: How do I check if all elements of an array are greater than zero C++
body: <p>I am fairly new to C++ and I am trying to make a loop that has a check in it that needs to go like this:</p>
  
  <p>"if all the elements in the array are greater than zero, break the loop, if they are not then restart the loop from the beginning"</p>
  
  <p>Please could you help me as I have no idea how to begin</p>
  
  <p>Thanks guys</p>