Answer:
We need to add four labels Taxable Income, Tax rate, total tax, and Total Due. And in front of them, you can add four textBoxes, or labels or as required.
The Tax rate is 5%.
And
Explanation:
BtnCalc_Click will calculate and display in lblTax
double tax = Convert.ToDouble((textBox1.Text)) * 5/100;
double Roundedtax = Math.Round(tax, 2);
textBox2.Text = Convert.ToString(Roundedtax);
textBox2.Show();
// we can use lblTax instead of textBox2. The further code will be almost change, and we need to use lblTax label instead of textBox2.Text.
BtnCalc_Click will calculate and display in lblTotal
textBox3.Text = Convert.ToString(Convert.ToDouble(textBox1.Text) + Convert.ToDouble(textBox2.Text));
textBox3.Show();
//This is lblTotal or the total Tax. We can use lblTotal label instead of the textBox3.Text.
BtnExit_Click will end the application:
Use this code in this method.
this.Close();
// This closes the application immediately on click on the Exit button.
Answer:
5,10; 6,12; 7,14
Explanation:
We will demonstrate the iteration of the loop:
First iteration: Number = 7, Count = 5 at the beginning. We will check if Count <= Number? Since it is correct, prints 5,10. Increment the Count by 1.
Second iteration: Number = 7, Count = 6. We will check if Count <= Number? Since it is correct, prints 6,12. Increment the Count by 1.
Third iteration: Number = 7, Count = 7. We will check if Count <= Number? Since it is correct, prints 7,14. Increment the Count by 1.
Forth iteration: Number = 7, Count = 8. We will check if Count <= Number? Since it is not correct, the loop stops.
Answer:
(c) will be the correct option
Explanation:
Union-compatible : If there are two relations and both have are having same number of attributes then it called union compatibility the domain of similar attributes also must be same for union compatibility. Number of attributes means number of column
so from above discussion it is clear that option (C) will be correct option
Upgrade routers and servers annually.
Answer:
False
Explanation:
The good example of pivoting is NOT changing the dimensions along the axis.