Click here to Skip to main content
16,013,465 members

Comments by shipra goyal (Top 3 by date)

shipra goyal 18-Jul-13 2:55am View    
minus = true;
plus = false;
mul = false;
div = false;
a =Convert.ToDouble(displaytxtbox.Text);
in equal btn,i write this code..
if (minus)
{
b =a-Convert.ToDouble(displaytxtbox.Text);
displaytxtbox.Text = Convert.ToString(b);
a = 0;

}

i m able to perform 3-2= but not 4-3-2=.. in this it is only taking 3-2 that is last minus sign..
shipra goyal 18-Jul-13 2:52am View    
using mouse numeric buttons are clicked and as soon as we click on equal btn result will be shown..i m able to perform 3-2= but not 4-3-2=.. in this it is only taking 3-2 that is last minus sign..
shipra goyal 8-Jul-13 3:16am View    
ya..i was not connected to the net and dats why the problem arises..thanks a lot...