title: How to start from beginning of the program
body: <p>I am a very beginner in c++. i am just learning abc of this language.. i created this small program that would add:</p>
  
  <pre><code>#include &lt;iostream&gt;
     using namespace std;
  
  float add(float a, float b){
                return a+b;  
        }
  
  int main(){
  
      float num1;
      float num2;    
  
      cout&lt;&lt;"add...enter digits \n";
      cout&lt;&lt;"first digit: ";
      cin&gt;&gt;num1;
      cout&lt;&lt;"\n Second number: ";
      cin&gt;&gt;num2;
  
      cout&lt;&lt; "your sum is: "&lt;&lt;add(num1, num2)&lt;&lt;endl; 
  
  
  
  
      system("pause");    
  }
  </code></pre>
  
  <p>this above code is my very first usable application of c++   </p>
  
  <p>now i wanted that when some one wants to again add then this program starts again... i thoughts of using loops, i but cannot think how to use in such a way. i mean what conditions i should use.</p>
  
  <p>please tell me</p>
  
  <p>thanks.</p>