Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read Carefully and follow everything Write a Java program for the South African Revenue Services to keep track of taxpayer's pensions for tax purposes. Q.3.1

Read Carefully and follow everything image text in transcribed
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 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 Patel Botha MONTHLY AMOUNT (R) 1234 1444 2341 503.99 527.99 595.66 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions