1. Convert the length in km (kilometer) to meter/feet/centimeter and vice versa.
• TextBox2.Text = TextBox1.Text * 1000
• TextBox3.Text = (19.68503937 * TextBox1.Text * 1000) / 6
• TextBox4.Text = TextBox1.Text * 100000
2. Convert Fahrenheit temperature to Celsius and vice versa.
• TextBox2.Text = (5 * TextBox1.Text - 160) / 9
• TextBox4.Text = (9 * TextBox3.Text + +160) / 5
0 comments:
Post a Comment