@@ -0,0 +1,466 @@
+description = r%22%22%22%0AWrite a program that takes an integer command-line argument,%0Aand outputs the sum of its digits, by using %3Ctt%3Ewhile%3C/tt%3E loop.%22%22%22%0A%0Asource_code = r%22%22%22%0Apublic static void main(String%5B%5D args) %7B%0A   int n = Integer.parseInt(args%5B0%5D);%0A   int total = 0; // running sum%0A   %0A   while (%5C%5Bn %3E 0%5D%5C) %7B%0A%5C%5B%0A      total = total + n%2510;%0A      n = n/10;%0A%5D%5C%0A   %7D%0A%0A   System.out.println(total);%0A%7D%0A%22%22%22%0A%0Atests = %22%22%22%0AtestMain(%22123%22);%0AtestMain(%222014%22);%0AtestMain(%227%22);%0A%22%22%22%0A

put some demo file at root