title: Switch statement in csh
body: <p>I am trying to make a switch statement to work in tcsh but I am not sure why it is not working. I am displaying a menu on the screen and if the option is selected it shows the price and then goes back to the top and repeats until the exit option is selected.</p>
  
  <pre><code>#!/bin/csh
  
  clear          
  echo -n "Petes A Pizza                 "        
  echo -n "                 Menu           "      
  echo -n "                                     " 
  echo -n "                 Make a selection    " 
  echo -n "                         "     
  echo -n "               A. Speciality Pizza     "     
  echo -n "               B. Veggi Lovers Pizza   "     
  echo -n "               C. Meat Lovers Pizza    "       
  echo -n "               D. Hawaiian Pizza       "       
  echo -n "               E. Cheese Pizza         "     
  echo -n "               F. Exit                 "     
  
  set a = $&lt;                      
  
  switch ($a)                    
  
          case [A] :        
   set A = ((7.99 + 0.07))
                  echo $A
                  sleep 5
                  goto top
          case [B] :              #they choose option 2
                  set B = ((8.99 * 0.07) + 8.99)
                  echo $B
                  sleep 5
                  goto top
          case [C] :              #they choose option 3
                  set C = ((6.99 * 0.07) + 6.99)
                  echo $C
                  sleep 5
                  goto top
          case [D] :              #they choose option 4
                  set D = ((8.49 * 0.07) + 8.49)
                  echo $D
                  sleep 5
                  goto top
          case [E] :              #they choose option 5
                  set E = ((3.99 * 0.07) + 3.99)
                  echo $E
                  sleep 5
          case [F] :             
                  exit 0          
                  breaksw         
  
          endsw
  end
  </code></pre>