Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is 0.454 kilograms. Here is a sample run:

Create a Trip class. Include as data members destination, distance traveled, total cost of gasoline, and number of gallons consumed. Include appropriate constructors and properties. Add additional methods that calculate miles per gallon and the cost per mile. Override the ToString() method. Create a second class(program.cs) to test your Trip class.

Create an Employee class. Items to include as data members are employee number, first name, last name, date of hire, job description, department, and monthly salary. The class is often used to display an alphabetical listing of all employees. Include appropriate constructors and properties. Provide two instance methods that return the full name. The first should return first name, space last name. The second method should return the name in a format that it could be used for sorting (last name, followed by a comma, space, and then first name). Override the ToString() method to return all data members. Create a second class to test your Employee class.

Create a class representing a student. Include characteristics such as student number, first and last name, classification, and major. Write at least two constructors. Include properties for each of the data items. Include an instance method that returns a full name (with a space between first and last name). Create a second class (program.cs) that instantiated first class with information about yourself. In the second class, create a class (static) method that displays name and major using the instantiated object.

Create a Date class with integer data members for year, month, and day. Also include a string data member for the name of the month. Include a method that returns the month name (as a string) as part of the date. Separate the day from the year with a comma in that method. Include appropriate constructors, properties, and methods. Override the ToString() method to display the date formatted with slashes (7) separating the month, day, and year. Create a second class that instantiates and test the Date class.

Amit wants to develop an arithmetic calculator to perform some arithmetic functions. Develop a program to achieve the same

Amit wants to develop an arithmetic calculator to perform some arithmetic functions. Develop a program to achieve the same

ABC private Ltd wants to maintain employees information. You need to define an entity class to hold employee information

You need to maintain a contact list in a generic list collection. You need time perform the following tasks i- add contact () - To add contact details to list





ABC Corp wants to maintain list of Customers. While accepting the data, you need to validate CreditLimit property. If the value is invalid, you need to raise Exception. We need to implement custom exception class to implement the same.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS