get data from 3 programs

Please run your code through the auto formatted and you should see your problem.