Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

C# project help
Create a project that accepts the following entries from a user using textboxes:
Student first and last names (separate entries);
Student ID;
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 - 3 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).

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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions