Posts

Showing posts with the label Java program

Java Program

Image
Introduction to Programming   Assignment Details For this assignment, you are required to develop a Java Console Program to demonstrate you can use Java constructs including input/output via a command line, Java primitive and built-in data types, Java defined objects, selection and looping statements, methods, and various other Java commands. Your program must produce the correct results. You are only allowed to use techniques which have been covered in the first six weeks of the course, you must use the Scanner object for input and no advanced data structures like arrays will be used. Instructions for this appear in the implementation section of this specification. What to submit for this assignment The Java source code: o        NemoReefTours.java A report including a flow chart (UML activity diagram) to depict your validation loop for reading the number of passengers, how long it took to create, any problems...

Java Program

Task 1: Tax Management System  Write a Java program that will calculate tax for the employees of a company called XYZ. The main menu of the tax calculation program is as follows. Welcome to Tax Management System of XYZ. Please select one of the following options: 1. Calculate tax 2. Search tax 3. Exit When  1  is selected then the program will calculate the tax of an employee based on the annual income of the employee and tax rates on the income. The tax rates on the income is stored in a file called taxrates.txt. The program needs to read the taxrates.txt file and store the information in proper data structure. If the taxrates.txt file does not exist in the directory of the source code then the program should ask to provide the taxrates.txt file as an input. The format of the taxrates.txt file is as follows.  Taxable Income Tax on Income 0 – $18,200 0 $18,201 – ...

Object Oriented Design and Programming

ASSESSMENT BRIEF COURSE : Bachelor of IT Unit: Object Oriented Design and Programming Unit Code: OODP101 Type of Assessment: Assessment Task 3 - Individual Programming Solution to a Problem Length/Duration: N/A Assessment Task: Individual Programming Solution to a Problem Total Mark: 20 Weighting: 20% of the unit total marks ASSESSMENT DESCRIPTION: The NSW service is conducting a survey about Opal Card weekly usage. They have collected surveys from 4 Opal card users about their daily fare in one week so...