Create a console application for the department to record information for students who receive bursaries in the department. For each recipient you need to store the recipient’s name and the number of hours outstanding. Most new recipients start with 90 hours, but there are some exceptions. As recipients works in the department, the number of hours left needs to be updated (decreased) from time to time, based on hours already worked. Implement class Recipient which has private attributes for Name and Hours. Create two constructors, one with a default allocation of 90 hours for a recipient, and the other should accept the number of hours for a recipient. In addition to the constructors, the class should have the following methods: public string getName() //Returns the name of the recipient public int getHours() //Returns the hours outstanding public void setHours(int H) //Set the hours outstanding public void displayRecipient() //Display the name and number of hours left for a recipient
This question continues with this one posted now:
In the application class (main method), do the following Implement method addMember(): static void addMember(Member[] memberList, ref int nrEl) //Request the name of a member and adds that member to the list Implement the main method which contains the following: A declaration of an array of members, which can take 5 members A loop that adds 5 members to the array, using addMember() A loop that sets the points of the first two members to 30 A call to an array method to sort the objects in the array in ascending order of name A loop that uses displayMember() to display all the objects
Write a console application for a club to record their member information. For each member to need to store the member’s name and merit points. All new members starts with 0 merit points. Implement class Member which has private attributes for Name and Points. You need to create at a constructor method and the class also needs to have the following methods: public string getName() //Returns the name of the member public int getPoints() //Returns the points of the member public void setPoints(int P) //Sets the points of the member Open and edit your console application to handle the updated requirements. Update the Member class to include the following methods: public void diplayMember() //Display the name and points for a member int IComparable.CompareTo(object obj) //Used to sort the array in ascending order of name
Write a console application for a club to record their member information. For each member to need to store the member’s name and merit points. All new members starts with 0 merit points. Implement class Member which has private attributes for Name and Points. You need to create at a constructor
Using C# and (WPF) 1. The user must be able to add multiple modules for the semester. The following data must be stored for each module: Code, Name, Number of credits, Class hours per week. The user must be able to enter the number of weeks in the semester. 3. The user must be able to enter a start date for the first week of the semester. 4. The software shall display a list of the modules with the number of hours of self-study that is required for each module per week.. The number shall be calculated as follows: self-study hours per week= number of credits × 10 number of weeks − class hours per week 5. The user must be able to record the number of hours that they spend working on a specific module on a certain date. 6. The software shall display how many hours of self-study remains for each module for the current week. This should be calculated based on the number of hours already recorded on days during the current week.
Using C# and Windows Presentation Foundation (WPF)1. The user able to add multiple modules for semester. The following data stored for each module: a.Code b.Name, c.Number of credits d.Class hours per week 2.The user must be able to enter the number of weeks in the semester. 3.The user must be able to enter a start date for the first week of the semester. 4.The software shall display a list of the modules with the number of hours of self-study that is required for each module per week. The number calculated: self-study hours per week= number of credits × 10 / number of weeks − class hours per week 5.The user must record the number of hours that they spend working on specific module on a certain date. 6.The software shall display how many hours of self-study remains for each module for the current week. This calculated based on the number of hours already recorded on days during the current week. 7.The software not persist user data between runs. shall only be stored in memory while software running
Develop a c# windows application for the class circle and write test program to test the circle class.
Develop a c# windows application for the class circle and write test program to test the circle class.