1. Engineering
  2. Computer Science
  3. use visual studio c for both parts use a console...

Question: use visual studio c for both parts use a console...

Question details
Use visual studio C# for both parts.
Use a console app template
oin Instructions: Create an application that calculates the total cost of a hospital stay. The daily base charge is $350. The hospital also charges for medication, surgical fees, lab fees, and physical rehab. The application should accept the following input: . The number of days spent in the hospital The amount of medication charges The amount of surgical charges The amount of lab fees The amount of physical rehabilitation charges CalcStayCharges -calculates and returns the base charges for the hospital stay. This is CalcMiscCharges-calculates and returns the total of the medication, surgical, lab, and CalcTotalCharges-calculates and returns the total charges. Create and use the following value-returning methods in the application: computed as $350 times the number of days in the hospital. physical rehabilitation charges. Requirements: -Submit a single zip file containing your solution folder using the following format: username module3activity1.zip
Using windows Forms Application template
Part 2- Employee Class (20 points Instructions: In Visual Studio, create a new Windows Forms Application. Create a class named Employee (in its own file) that has the following properties: Name-the Name property holds the employees name
IdNumber - the ldNumber property holds the employees ID number. Department-The Department property holds the name of the department in which the employee works. Position-the Position property holds the employees job title. The class should have the following overloaded constructors: A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employees name, employees ID number, department, and position A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employees name and ID number. The Departmentand Position properties should be assigned an empty string ( ) A parameterless constructor that assigns empty strings (] to the Name, Department, and Position properties, and 0 to the IdNumber property In your application, create three Employee objects to hold the following data: Name Susan Meyers 47899 Mark Jones 39119 ID Number Department Position Accounting, Vice President IT Programmer Joy Rogers 81774 Manufacturing Engineer The application should store this data in the three objects and display the data for each employee on the screen.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution