The main problem is that you are only creating one instance of a Customer:
Customer myObj;
So every time you go around the loop, you overwrite the previous values and end up with just the one set of Customer information.
You need to create different instances - using the
new
keyword - and store all the instances in a collection of some sort. Since I have no idea where you are in your course, I can't say "use this", so go back to your course notes and re-read them carefully, paying careful attention when
new
is discussed.