title: unexpected End of File error in if else statement
body: <p>I keep getting unexpected End of file error while running a if else statement</p>
  
  <pre><code>#! /bin/bash
  echo -e "1: Proband\n 2: mincount\n Enter an option:"
  read promin
  echo $promin
  if ($promin == 1) then
  echo -e "Enter the proband file name\n"
  read proband_file
  echo "$proband_file"
  endif
  if ($promin == 2) then
  echo -e "enter the min count number\n"
  read mincount
  echo "$mincount mincount"
  endif
  </code></pre>
  
  <p>I tried fi instead of elseif too. But i still get the same error. Can someone help me fix that?</p>