i created a basic calculator, but with division i coded it, that when i divide by zero it will give the error to the user in the 2nd textbox, but now even if i divide by 3 or an
On the first line of aequal_Click(object sender, RoutedEventArgs e) replace
Double num02 = 0;
by
Double num02 = Convert.ToDouble(textbox1.Text);