Cash-back offer from May 2nd to 7th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 28.00

CIST 2341 C# Programming | Complete Solution

Question posted by
Online Tutor Profile
request

Calculate area and perimeter


In this exercise, you’ll create a form that accepts the length and width of a rectangle from the user and then calculates the area and perimeter of the rectangle.


1. Start a new project named AreaAndPerimeter.
2. Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Calculate button should fire. When the user presses the Esc key, the Click event of the Exit button should fire.
3. Create an event handler for the Click event of the Calculate button. This event handler should get the values the user enters for the length and width, calculate and display the area (length x width) and perimeter (2 x length + 2 x width), and move the focus to the Length text box. It should provide for decimal entries, but you can assume that the user will enter valid decimal values.
4. Create an event handler for the Click event of the Exit button that closes the form.
5. Test the application to be sure it works correctly.


Accumulate test score data


In this exercise, you’ll create a form that accepts one or more scores from the user. Each time a score is added, the score total, score count, and average score are calculated and displayed.


1. Start a new project named ScoreCalculator.
2. Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Add button should fire. When the user presses the Esc key, the Click event of the Exit button should fire.
3. Declare two class variables to store the score total and the score count.
4. Create an event handler for the Click event of the Add button. This event handler should get the score the user enters, calculate and display the score total, score count, and average score, and move the focus to the Score text box. It should provide for integer entries, but you can assume that the user will enter valid integer values.
5. Create an event handler for the Click event of the Clear Scores button. This event handler should set the two class variables to zero, clear the text boxes on the form, and move the focus to the Score text box.
6. Create an event handler for the Click event of the Exit button that closes the form.
7. Test the application to be sure it works correctly.

Available Answer
$ 28.00

[Solved] CIST 2341 C# Programming | Complete Solution

  • This solution is not purchased yet.
  • Submitted On 02 Nov, 2017 04:43:07
Answer posted by
Online Tutor Profile
solution
If you have any questions regarding this tutor...
Buy now to view the complete solution
Other Similar Questions
User Profile
Exper...

CIST 2341 C# Programming | Complete Solution

If you have any questions regarding this tutorial then you can contact me. Check your E-mail inbox to download your solution document. ...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35