Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write in c# visual studio 1) Write a student class. Each student object has SID, name, totalCredits, GPA, and major; Create a constructor that gives
Write in c# visual studio
1) Write a student class. Each student object has SID, name, totalCredits, GPA, and major; Create a constructor that gives a default ID, name, major, total credits, and gpa. Create properties Name and Major to allow users of the objects to change and read name and major values. Add a method to update totalCredits and GPA when given a new course credit and grade. Add a method to display all the student information in the debug window. void DisplayInfo0 2) Write an employee class. Each employee object has eid, ename, job, salary, and department data. Create properties for each data member. Create a method that will update the salary given a raise percentage. Add a method to display all the employee information in the debug window. void DisplayInfoO 3) Create a form with a button. Once the button is pressed create one student and one employee. Call DisplaylnfoO on both objects createdStep 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