- public class printrange
- {
- public static void main(String[] args)
- {
- int beginIndex = Integer.valueOf(args[0]);
- int endIndex = Integer.valueOf(args[1]);
- int increment = Integer.valueOf(args[2]);
- for(beginIndex = beginIndex -1; beginIndex < endIndex; beginIndex++)
- {
- beginIndex += increment -1;
- System.out.println("count is: " + beginIndex);
- {
- }
- }
- }
- }

By: microhaxo | Date: Nov 12 2008 00:16 | Format: None | Expires: never | Size: 395 B | Hits: 1189
Latest pastes
1 hours ago
1 hours ago
1 hours ago
3 hours ago
6 hours ago