title: "Press Any Key or Wait for 10 Seconds to Continue"
body: <p>I have a code here that would probably just delay 10 seconds before proceeding , but I want to add a feature that the user could wait that delay or press any key to continue, I know it wouldn't be just like <code>delay(10000) || getch();</code> any way to do it?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  #include &lt;dos.h&gt;
  
  void main(){
      clrscr();
      printf("Press Any Key or Wait for 10 Seconds to Continue");
      delay(10000); 
      //getch();
  }
  </code></pre>