title: Using if statements with multiple radio buttons to calculate a sum in visual basic
body: <p>I am using Visual Basic 2010 and trying to calculate an Decimal amount using radio buttons.</p>
  
  <p>The first radio buttons are declared constants representing the cost of a service. </p>
  
  <p>The second set of radio buttons are for a discount amount. </p>
  
  <p>The issue I am having is the value returning, no matter what discount button is selected is the value for the first if statement.</p>
  
  <p>I feel like I should be using a case statement, unfortunately the book I am using is vague concerning case statements.</p>
  
  <p>Thank you for taking the time to read my question.</p>
  
  <pre><code>If MakeoverRadioButton1.Checked + Discount10RadioButton5.Checked Then
      CostSelectedService1 = Makeover_Decimal - (Makeover_Decimal * 0.1)
      AmountSelectedServiceLabel3.Text = CostSelectedService1.ToString("C")
  ElseIf MakeoverRadioButton1.Checked + Discount20RadioButton6.Checked Then
      CostSelectedService2 = Makeover_Decimal - (Makeover_Decimal * 0.2)
      AmountSelectedServiceLabel3.Text = CostSelectedService2.ToString("C")
  ElseIf MakeoverRadioButton1.Checked + NoDiscountRadioButton7.Checked Then
      CostSelectedService = Makeover_Decimal
      AmountSelectedServiceLabel3.Text = CostSelectedService.ToString("C")
  End If
  </code></pre>