OK Im new to C++, I'm still a beginner, i know how to make simple calculations and all. But looping is completely different and I have no idea where to start: Here's all that I have for this question (Write an application that keeps inputting an integer from the user until zero is entered. The program will calculate and display the average of the numbers, and display the largest and smallest of the numbers. Zero is not to be included in the average, largest or smallest printouts.) :

#include <iostream>

using namespace std;

   int main()
{   int num;

	cout << "please enter a set of numbers" << endl;
	cin >> num;
	if( num > 0 )

  return 0;

Can someone please give me the rest of the answer for this question and give me basic explanation of how you did. THanks