|
-
December 17th, 2009, 06:40 PM
#1
C sharp progaming need help!
Can anyone build this thing for me plz i need for tommarow iv got 10% for School thanks and bye!
----------------------------------------------------------------------------------------------------------------------
Required to build a program that simulates a phone booth.
Application communicates with the user given the opportunity to fill account euro cents and press the number (destination) desired. Number of print can be a local number, mobile or international.
If the number has prefix 038 or 028 or 029 or 39 and has 6 digits after the prefix, that means talking to the local number. Even if there is no prefix and 6 digit number means that it comes to local.
If the number has prefix 044 or 045 or 043 or 049 and has 6 digits after the prefix, means that talk of mobile number.
If the number has prefix + or 99 and has a minimum of 9 digits after the prefix, means that it comes to international numbers.
Credit empty every second and Video game console should be displayed in the remaining bits.
Rata are as follows:
Calling the local number costs 5 euro cents per minute.
The call in number of mobile costs 10 euro cents per minute.
International call number costs 20 euro cents per minute.
10 seconds before the call is completed, users should be given the opportunity to replenish the account. If the user decides to fill the account, the conversation continues and the procedure repeated, if not, finish the conversation ends with 10 seconds remaining. At the end users, the Video game console, must be disclosed how much money is spent in total and as was the duration of the call, in the format hh: mi: ss.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|