Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Don\'t forget to divide the interest rate <InterestRateListBox>.Text value by 10

ID: 3548328 • Letter: D

Question

Don't forget to divide the interest rate <InterestRateListBox>.Text value by 100.




Other than what is already generated by the windows form application the code below is mine


private void textBox1_TextChanged(object sender, EventArgs e)
{
string thedata = textBox1.Text;

try
{

double x = Convert.ToInt64(thedata);

MessageBox.Show("Data Entered is Okay");
}
catch (Exception ex)//exception is the class
{
string S = "Invalid Integer" + Environment.NewLine + ex.Message;

MessageBox.Show(S, "Error",
MessageBoxButtons.AbortRetryIgnore,
MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1);//ex.Message was replaced with S

}
}

Explanation / Answer

Your work wl be done by today

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote