Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume that there are four separate lists containing data for people in a state. First list is Aadhar list, which contains names of people, their
Assume that there are four separate lists containing data for people in a state. First list is
Aadhar list, which contains names of people, their addresses and their corresponding Aadhar
numbers. Second list is a PANlist that contains in every node, name of a person, address,
hisher PAN number and hisher Aadhar number. Third list is bankaccountslist, which
contains name of a person, hisher PAN number and the account details bank account
number, deposited amount etc Fourth list is LPGlist which contains name of a person,
hisher bankaccountnumber and whether the person has taken LPG subsidy or not YES or
NO Assume that Aadhar numbers are unique as they are derived from biometric data of a
person that is assumed to be unique. Take as input, above four lists which are already
populated.
Print names, addresses and Aadhar numbers of all those people who have Aadhar
numbers but no PAN numbers.
Print names, addresses and Aadhar numbers of all those people who have multiple
PAN numbers. Print all the PAN numbers for each such person.
Print names, addresses and Aadhar numbers of all those people who have multiple
bank accounts registered under multiple more than PAN numbers. Note that
registration of multiple bank accounts with the same PAN number is allowed.
Print details Aaadhar PAN, all bankaccount details of a person who has availed
LPG subsidy.
Take amount X as input. Print names, addresses and Aadhar numbers of all those
people who have their total savings in all bank accounts of theirs being greater than
amount X and they have also availed LPG subsidy YES This may include people
having one or more PAN numbers.
Print inconsistent data, ie names, addresses and aadhar numbers of all those people
who have different names mentioned in either of their Aadhar number, PAN number,
bank account or LPG connection.
Given two different bank account lists, merge these two lists into a single list.
For any of the four lists, you are free to choose specific type of linked list, whether singly
linkedlist, circular linked list or doubly linked list. Make the decision appropriately that
helps the most in the ease of operations and efficiency. You can add extra fields in the list if you need
write a program in C for the above question
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started