Question
Using Windows Form C# 7. State University calculates students tuition based on the following rules: State residents: Total units taken 12, tuition = 1200 +
Using Windows Form C#
7. State University calculates students tuition based on the following rules:
State residents:
Total units taken <=12, tuition = 1200
Total units taken > 12, tuition = 1200 + 200 per additional unit.
Non residents:
Total units taken <= 9, tuition = 3000
Total units taken > 9, tuition = 3000 + 500 per additional unit.
Assuming a radiobutton1 is created for resident, and a radiobutton2 is created for non-resident, and two double variables named totalUnits and Tuition already declared and initialized, write a decision structure to compute the tuition.
8. A Group Panel control contains 3 radio buttons: Radio1, Radio2, and Radio3. Complete the following click event procedure to determine which radio button is checked, and uses a MessageBox to show the selected option with a message such as Radio 1 is checked.
private void button2_Click(object sender, EventArgs e)
{
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started