By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,779 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,779 IT Pros & Developers. It's quick & easy.

Need Urgent Help..Paid Help

P: 7
Hi,

I need a programmer who can write 3 programs for following questions below.Programs need to be ready before nextweek.thank you. Person who help me these 3 questions will be get paid.. I am new to programming, thats why i need help..i dont understand any coding at all.

Question 1:
Write an application that accepts a userís password from the keyboard. When the entered password is less than six characters, more than ten characters, or doesnít contain at least one letter and one digit, prompt the user again. When the userís entry meets all the password requirements, prompt the user to re-enter the password, and do not let the user continue until the second password matches the first one.

--------------------------------------------
Question 2:
You have been asked to write a Java application that will calculate an estimated tax for a tax payer, based on keyboard responses. This application will be used by taxpayers to calculate their personal tax liability.

The TaxReturn class contains field for taxpayerís Social Security Number, surname, first name street address, city, post code, annual income, marital status, and tax liability. Include a constructor that requires arguments that provide value for all of the fields other than the tax liability based on annual income and marital status:

Single Married
Income
0 - 15000 5% 5%
15001- 25000 15% 10%
25001 Ė 40000 25% 20%
40001 Over 35% 30%

Create an application that prompts a user for the data needed to create a tax return display that contains details of the taxpayer in a readable presentable format along with their tax liability and the date.

Your application should make the following validations
 The SSN should be in the right format, i.e 9 characters, the first two and the last one are letters, the rest are numbers.
 The Post code should not be more than 7 characters, the first two are letters the third is a number and the rest doesnít matter (for the sake of this exercise)
 Maritial status cannot accept any other character than m,M,s,S
 And of course the annual income cannot be negative.

--------------------------------------------
Question 3
Design a class hierarchy to model the placing of orders in a shop.
The shop sells furniture : tables, chairs, sets of tables and chairs, beds, cupboards.
A set of table and 4 chairs is sold at 80% of the total price of the table and chairs taken individually. A set of table and 6 chairs is sold at 70% of the total price of the table and chairs taken individually.

An order may be CURRENT or COMPLETED.
A CURRENT order is successively PLACED, READY, DELIVERED.
A CURRENT order may be paid in full or partially paid as soon as it is PLACED.
If the total value of the order is greater than £1000, then a 50% payment when placing the order is necessary.
A CURRENT order becomes COMPLETED as soon as it is DELIVERED and PAID.

The shop manager will at some point want to use this class hierarchy to develop
a program able to display the list of current orders. This should provide for each order, the customerís name, the list of codes of the items in the order, the total price and the status of the order.

In the application you will need to create different types of orders to demonstrate the functionality of the application.
Dec 6 '06 #1
Share this Question
Share on Google+
1 Reply


Ganon11
Expert 2.5K+
P: 3,652
Kindly refer to the rules of this forum:
http://www.thescripts.com/forum/thread571397.html

Note that we ask you to provide any code you have attempted to write and to explain what problems you have.

The reason we do this is because we here at thescripts do not write your programs for you - we are here to help. If you have tried your hardest and cannot understand a concept, or cannot figure out how to do one part of a program, we will give you some advice on where to go, or try to explain the concept. But we will not (or will rarely ever) actually write any code for you.

Although I'm not an administrator, and I'm fairly new to thescripts, I can safely say that no one will write your programs for you - even if you offer them payment. Besides, this sounds like a homework assignment you have been given, and I know I will not help a fellow programmer cheat.

Please, try your hardest on these problems yourself. If you still have problems, come back, thoroughly explain your troubles, ask us for help, and we will gladly provide it for you.
Dec 6 '06 #2

Post your reply

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