Script started on Tue Nov 22 12:37:23 2011 PT[101]% gcc -Wall bonus.c primes.c PT[102]% ./a.out Bonus.txt PT[104]% cat Bonus.txt Name Units Sales Rating Bonus John 200 4171221 4 4583 Mary 314 5231321 4 4673 Robert 129 3293142 1 4523 Gary 22 357082 1 2551 Diane 95 1645495 2 3251 PT[105]%