Program to reads a sequence of integer numbers , Programming Languages

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.

Posted Date: 2/15/2013 5:46:04 AM | Location : United States







Related Discussions:- Program to reads a sequence of integer numbers , Assignment Help, Ask Question on Program to reads a sequence of integer numbers , Get Answer, Expert's Help, Program to reads a sequence of integer numbers Discussions

Write discussion on Program to reads a sequence of integer numbers
Your posts are moderated
Related Questions
Hi, Can you do exercises: D2, D3, D4, and D5 on page 230 of the following book: http://www.daimi.au.dk/~bra8130/Wiley_book/wiley.html . The book can be downloaded for free from t

WS-Addressing, WS-Reliable Texting and WS-Security WCF tools many innovative Web solutions (WS) expectations such as WS-Addressing, WS-Reliable Texting and WS-Security. With the di

NOTE: You will only submit the University.java and EmptyFileException.java files (inside P3.zip/tar) NOTE on null objects:. From Project 1: Since the array of students in the Cou

Write a Prolog predicate has_duplicates(L) that is true if list L contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,e,b,

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of inte

Explain, in your own words, how web designers can deal with CSS conflict resolution. What is the order of precedence between the different types of CSS (inline, embedded and extern

Need support in Mobile app using AngularJS, Cordova (PhoneGap), Ionicframework We need an experienced front-end developer with a obsession for performance in mobile environment.

1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

Board Coloring Problem Description In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color.