Program to reads a sequence of integer numbers , Programming Languages

Assignment Help:

Task:

This assignment is about writing programmes and Web Services in C#:

1) Develop a console programme that reads a sequence of integer numbers from the console and sorts them in descending order using a suitable sorting algorithm (you are expected to implement the algorithm and not simply use a sort() method provided for a data type!).

2) Provide a Web Service for the programme in 1) - consider a suitable interface.

3) A car rental company has two types of customers: Private and Commercial. Both accounts allow customers to rent cars for specified periods (start date plus no of days rental). Also, both types of customers would have a customer record with name and a customer number. Private customers can only pay by cash or credit card upfront, commercial customers will have an account against which rentals are booked. Also, commercial customers would name a driver (and there can be several rentals for the same period against their account with different drivers named).

You must develop a sensible class structure to capture these accounts and provide methods for their specific features (book, pay, send monthly bill, produce rental invoice).

Develop a console programme creating some accounts to test your operations.

4) Develop a web services for the car rental company from the previous task with a respective database backend. The service should allow people to book a vehicle, and should allow company staff to look at bills or invoices and register payment (payment received).

Note1: I am not marking the database design, so use the simplest database structure that allows you to capture the required data. You need to include a comment as to how this is structured (you can use "tablename: attribute1, attribute2, attribute3, ..." for each table).

Note2: you will need to decide on good return types for your web service methods!

Note 3: I am not expecting any considerations of security or logging in to be catered for in your implementation.


Related Discussions:- Program to reads a sequence of integer numbers

Count no of files, Normal 0 false false false EN-US X...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Write the dual of the max flow problem, 1. Write the dual of the above max-...

1. Write the dual of the above max-?ow problem. 2. Solve both problems with AMPL, and for each print the values of the vari- ables and the values of the dual variables (if a p

Visual basic 2010, I have to create a calorie counter and I am totally lost...

I have to create a calorie counter and I am totally lost

Develop html code create web page of blue color , 1.  Develop an HTML code ...

1.  Develop an HTML code to create a Web page of blue color & display links in red color. 2.  Develop an HTML code to create a Web page which contains an image at its center.

Linux commans, Corrected Exercise #1: 1. Explain the following unexpected r...

Corrected Exercise #1: 1. Explain the following unexpected result: why did you get the system date command instead of the script? $ whereis date date: /bin/date ... $ echo $PATH

Define the procedures cons, Show that we can represent pairs of nonnegative...

Show that we can represent pairs of nonnegative integers using only numbers and arithmetic operations if we represent the pair a and b as the integer that is the product 2 a 3 b .

CGI mailer Script, i neeed an CGI Script that send mass emails i need this...

i neeed an CGI Script that send mass emails i need this input fields Sender Name: Sender Email: Subject: Message: choose (HTML Or text ) , by default HTML Emails and send bu

Python, Write a python script that will take two file names as input (src, ...

Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd