Write a java complete program to access employee profile

Assignment Help JAVA Programming
Reference no: EM131483144

Topics Covered

- Designing a Java application
- Java I/O and Data types
- Control Structure-Decision
- Control Structure-Loops
- String Handling
- Arrays and Array lists
- Exception Handling
- Files I/O and streams

Background
A branch of the Australian taxation office has hired you as a contract programmer. Your first assignment is to write a Java complete program to access employee profile and calculate the tax rate for each employee. The user has first to enter the user name and password to access to their profile. When the login details are not correct, the program asks the user to re-enter login details again. A text based menu appear to the user for access the profile when the user provides correct login details (correct user name and password).

The menu offers the user to display profile or modifying any field in addition to calculate the tax rate. The tax rate can be calculated according to the following table:

For example is the user salary is $50,000, the tax rate is (50,000-40,000)*0.35+4,000 = $7,500

Task Specifications

You are required to write a Java console program using Netbeans IDE. Your task is to design and code a Java program that will achieve the following:

- On starting load the use details from a text file that is provided. Your program must display an error message if the file is not found or if there is no data.
- Display a message asking the user to enter user name and password. The program must display incorrect login message and ask the user to re-enter login details if the user enter incorrect user name or password.
- Display a menu when the user entered correct login details. The menu asks the user to select: display user profile, modify user profile, tax rate or exit.
- If the user chooses to display user profile the program display all the user profile for the login user and shows the menu again.
- If the user chooses to modify user profile the program must allow the user to enter new profile and update the user details in the text file and shows the menu again.
- When the user chooses tax rate, the program calculates and display the tax rate according to the user salary. The program then shows the menu again.
- The program terminates when the user select exit.
- Program should be properly commented and indented.

Reference no: EM131483144

Questions Cloud

Developing human resource policies : Business policies do not override a local, state or federal laws, by which local, state or federal laws can override business organizations policies.
Benefit from the devaluation of the yuan : Why do the Chinese people currently and in the future continue to benefit from the devaluation of the Yuan?
What sort of problems would this introduce for policymakers : A balanced budget amendment to the Constitution is introduced in Congress every so often. Congress would be required to balance the budget every year.
Describes how to create an it strategy : Watch Creating Winning IT Strategies video, which describes how to create an IT strategy. Because the PowerPoint slides in the video are a little hard to read.
Write a java complete program to access employee profile : SMB4103-Introduction to Programming - write a Java complete program to access employee profile and calculate the tax rate for each employee
Review the case of robert dunn : At the beginning of the 2001 recession, Robert Dunn, writing in the August 19, 2001, issue of the New York Times, noted that, "An absurd debate is going on.
Analyze scenarios of consequentialism as a theory : Analyze scenarios of consequentialism as a theory base in public administration. Validates position with applicable knowledge.
Could lowering tax rates actually lead to higher tax revenue : The informal or underground economy operates off the books and typically for cash. Estimates of the underground economy in the United States are usually.
The labor relations system in the public sector : What factors distinguish the labor relations system in the public sector from that in the private sector?

Reviews

len1483144

5/3/2017 8:45:27 AM

Trait Task Detail Possible Mark Comments Readability No more than one blank line at a time 1 No indent error 1 No non-meaningful name 1 One blank line separates sections of code 1 White space around all operators (allow one error) 1 No line exceeds 80 characters 1 Only one statement per line 1 Blocks correctly aligned 1 Documentation Introductory comments provided 1 Method comments provided 1 Variables/constants commented 1 Comments are useful 1 No unused variables/unreachable code/warnings 1 Variables initialised 1 Reusability Methods have been used 2 Parameters used 1 Return type used 1 File handling Data is written to file correctly 2 Data can be read from file correctly 2 File closed after use 1 Use of Try Catch 1 Specifications Shows correct menu options 1 Calculations are correct as per given specifications 1 Exits from the program correctly 1 Delivery Code delivered on time 1 Efficiency No other errors 1 Overall quality of program 1 30

len1483144

5/3/2017 8:45:18 AM

• All .java source code files of your Java Project so that your program can be run (you may use the src folder in the NetBeans directory) • Text file that is created by your program • Word document with appropriate headings and formatting and It should contain the following: o Print screens of all your error messages displayed to the user o Print screens of the data entry while entering menu options and output o Any assumptions you have made

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd