public static void runLoop(int start, int end) { if (start < end) { while(start <= end) { System.out.print(start); start++; } } else { while(start >= end) { System.out.print(start); start--; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)