title: how to remove SIGTSTP error from code below?
body: <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main() {
  
      int T;
      cin&gt;&gt;T;
  
      while(T--){
  
          int a,result=1;
  
          cin&gt;&gt;a;
  
          for ( int i= 2 ; i &lt; a ; ++ i ){
              if(a%i==0){ result=0; break; }
          }
  
          if(result) cout&lt;&lt;"Yes"&lt;&lt;"\n";
          else cout&lt;&lt;"No"&lt;&lt;"\n";
      }
  
      return 0;
  }
  </code></pre>
  
  <p>hello this is the problem</p>
  
  <p>tells whether number is prime or not 
  if yes then output is "yes" else "no"</p>