Question: Read Carefully and do in java Write a Java program for the South African Revenue Services to keep track of taxpayer's pensions for tax purposes.
Write a Java program for the South African Revenue Services to keep track of taxpayer's pensions for tax purposes. Q.3.1 Create a sequential file (pensioner.txt) that contains data for the following fields: person's ID number (int); surname (String) The amount (double) the pensioner receives as a pension; A code (char) where: o p'is a private pension paid from a previous employer, o g'is a government pension paid for by the government. Q.3.2 Print a report that contains the details of the pensioners that receive a (10) government pension and contains the following details: ID NUMBER NAME Nkosi 503.99 Patel Botha595.66 MONTHLY AMOUNT (R) 1234 1444 2341 527.99 Marking Guideline Declarations: Mark Examiner Moderator Incomplete/ incorrect-3 marks; Correct - 5 marks. Create Sequential file: Incorrect file type and/or incorrect format/data- maximum 2 marks; Correctly initialised in the correct part of the program -5 marks. Print Report: (10) Incomplete/ incorrect report-up to a maximum of 5 marks; Correct report -10 marks. Total (20)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
