(C LANGUAGE)I have the following data in a text file and want to filter the people with specific age and who earns more than x salary and are below y age.
ASSUMING the first column being age and last being salary e.g.
39, State-gov, 77516, Bachelors, 13, Never-married, Adm-clerical, Not-in-family, White, Male, 2174, 0, 40, United-States, <=50K
50, Self-emp-not-inc, 83311, Bachelors, 13, Married-civ-spouse, Exec-managerial, Husband, White, Male, 0, 0, 13, United-States, <=50K