Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment: Using C# Create a project that accepts the following entries from a user using textboxes: Student first and last names ( separate entries )

Assignment: Using C#
Create a project that accepts the following entries from a user using textboxes:
Student first and last names (separate entries);
Student I[
Credits completed; and
Grade Point Average.
Include buttons to process the entry, clear the form for a new entry, and exit the application.
When the process button is clicked, verify that each textbox has an entry. If all textboxes have an entry, add the credits entered to any credits previously entered, and calculate the average credits earned per student entered. Display a message box with the student's full name, student ID, and a message indicating if the student's credits entry is more than, less than, or the same as the average credits completed.
Use a try/catch block to ensure that your application doesn't crash if an entry can't be converted to a number.
Display an appropriate message to the user if a cast fails or a textbox is missing an entry.
Extra Credit -5 points
Validate the credit and GPA entries. Credits must be an integer zero or higher; GPA must be a decimal between 0 and 4(inclusive).
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions