Professional Documents
Culture Documents
Fixed Length Format
Fixed Length Format
Write a program to read event details from the fixed-length format file and display the
events organized by specific persons.
Strictly adhere to the Object-Oriented specifications given in the problem statement. All class
names, attribute names, and method names should be the same as specified in the problem
statement.
Input format:
The first line of the input is the name of the organizer.
Read all the details of that organizer from the input file.
The input file is "input.csv". The sizes of fields in the fixed-length file are,
Field Size
name 0-19
details 19-39
type 39-51
organizer 51-61
attendeesCount 61-67
projectedExpense 67-74
Output format:
Use "%-15s%-20s%-15s%-15s%-15s" to display details in tabular format.
Print "The given person has no upcoming events" if the person is not in the file.
Refer to sample output for other further details and format of the output.
[All Texts in bold corresponds to the input and rest are output]