I am skilled in Networking and Systems Administration (MCSA Certified), but not in programming.
I have to get this project done like yesterday (I have truly ran out of time)
If you can provide me with the answer and the code maybe I can assist you with your networking needs, ex. Server 2003
Here is the Problem: (needs to be in java or C++)
Write an insurance costing program that does the following
1. Asks the user for their first name, stores the name in a variable called strFirstName
2. Asks the user for their last name, stores the name in a variable called strLastName
3. Asks the user for their age, stores the number in a variable called intAge
4. Asks the user if they are a smoker, stores the answer (0 or 1, Y or N, whatever you decide) in a variable called isASmoker
5. Determine the user’s monthly insurance rate based on the following criteria:
The base rate is 10 (dollars) a month
If the user is male, the base rate goes up 10%
If the user is between 50 and 65, the current rate goes up 20%
If the user is over 65, the current rate goes up 50%
If the user is a smoker, the current rate doubles
Example: A 66 year old male who smokes would pay:
Outputs, “Ok John Smith, your monthly payment will be $33.” (Where John Smith is the first name and last name taken from the user)
thankyou
Edited by sari, 30 July 2009 - 09:04 AM.
Removed email address