title: How do I delete a specific line from text file in C?
body: <p>Example:</p>
  
  <blockquote>
    <p>George 50 40<br>
    Lime 30 20<br>
    Karen 10 60  </p>
  </blockquote>
  
  <pre><code>do {
      printf("\nInput player name:[1..10] ");
      fgets(name,10,stdin);
  }
  </code></pre>
  
  <p>Input name: Lime</p>
  
  <p>Then the text file will be:</p>
  
  <blockquote>
    <p>George 50 40<br>
    Karen 10 60</p>
  </blockquote>