Need logic for summing numbers using Checkboxes in Android
<p>can any one suggest me the logic to sum the numbers using the checkboxes in Android. For instance if checkbox1 have number 100 assigned to it, checkbox2 is assigned with number 200, checkbox 3 is assigned with 300 and checkbox4 is assigned with number 400.</p>

<p>If I select checkbox1 and checkbox3 I should get a Toast message showing the sum or if I choose the checkboxes 1,2,3 then I should get the sum of all the checkboxes that were checked. </p>
