473,394 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

writing programmes and Web Services in C#

1
please answer this question for me A bank has two types of accounts: Savings Accounts and Current Accounts. Both accounts allow customers to deposit and withdraw money and have an account number as well as an owner (a person name and address). However, they do behave differently in some aspects.

Savings accounts do not allow users to withdraw more money than the current balance, but accrue interest (that is when an interest amount is calculated it is added to the account). Current accounts might have an overdraft facilities (that is a negative balance up to which withdrawels are permitted). The overdraft comes with a flat charge of

2£ per day. You must develop a sensible class structure to capture these accounts and provide methods for their specific features ( deposit , withdrawel , compute _ interest

, add _ overdraft _ charge and display _ balance ). Note that you do not need to handle time, that is you can assume that the bank’s final code will use the compute _ interest method once a month and that the add_overdraft_charge method is used daily. You will be assessed both on functionality as well as good object oriented design. Also note that you should not use a database – this exercise is about OO design and implementation. [

4) Develop a web services for the bank accounts in the previous task. You will only need to implement the methods relevant to clients: deposit , withdrawel and display _ balance . Note that you will need to decide on good interfaces for your web service methods
Oct 21 '13 #1
1 1235
Joseph Martell
198 Expert 128KB
Muftah, thanks for the question, but I think you should review this: http://bytes.com/faq.php?faq=posting...ask_a_question

If you post your attempt at answering this question or specific questions about implementation details, we would be happy to help. Unfortunately, doing assignments outright isn't really what we are trying to promote here.

Thanks!
Oct 22 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jindrich Prchal | last post by:
Hi there. We are running DB2 v7.2 for Win NT on Windows 2000 SP3 machine with poor configuration AMD 1800+, 512MB RAM and usual IDE harddisk. During tests of migration our batch programmes...
2
by: Brett | last post by:
I want to use .NET for writing web services that will mainly call SQL Server (2000) stored procedures in a database. What are the advantages/disadvantages of using C# vs. ASP and vice versa? ...
4
by: Gav | last post by:
Hi All, Just starting to look at writing windows services if you stop the service and build the project, do I have to run the installutil again or can I just start the service again? Thanks...
4
by: Brett | last post by:
I want to use .NET for writing web services that will mainly call SQL Server (2000) stored procedures in a database. What are the advantages/disadvantages of using C# vs. ASP and vice versa? ...
4
by: tobyjug01 | last post by:
yDespite numerous attempts to rectify this 'fault' any programmes i install just go into the Programmes folder, BUT NOT into the Add/Remove Programmes in Control Panel, therefore if i download a...
1
by: =?Utf-8?B?VHJldm9yIFQ=?= | last post by:
How can I find out what programmes are opened when I start my PC ? And is there a list of what programmes are needed and Can I delete any surplous ones?
6
by: =?Utf-8?B?ZGF2ZWJ5dGhlc2Vh?= | last post by:
Dear List, I have been writing Web Services and running them from either a local IIS Server on XP Pro or within the built in web server in VS2003 and more recently VS2005. I was considering...
3
by: =?Utf-8?B?Q29yeSBKLiBMYWlkbGF3LCBCZXlvbmQwMS5jb20= | last post by:
Hi. I need to write a new windows service that will run on windows server, probably 2003. Does anyone know of a good place on MSDN (or elsewhere) to get basic examples of how to do this? I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.