why to use for loop here? without any tutorials on it? use system.out.println rrquired number of times to get the result???