Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed

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 created

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 Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

u = 5 j , v = 6 i Find the angle between the vectors.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago