Originally posted by divya madala:
Hi All,
To print the name 1000 times in every year , I used the below logic.
Just wondering if anybody could suggest a better and a much simpler way.
Is there a way I can automate not to have so many "if" statements?
Thanks for your help,
Divya
[ February 04, 2004: Message edited by: divya madala ]
[ February 04, 2004: Message edited by: divya madala ]
Use a
String array to store the names & then loop thru the array. Just remember that arrays start with 0 subscript. BTW, what the heck is this program doing? And why? Is this just an example/tutorial/assignment or is this for some real-world project?
