@@ -0,0 +1,768 @@
+package org.svetovid.demo;%0D%0A%0D%0Aimport org.svetovid.io.Svetovid;%0D%0Aimport org.svetovid.util.Stopwatch;%0D%0A%0D%0Apublic class Factorial %7B%0D%0A%0D%0A    public static void main(String%5B%5D args) %7B%0D%0A%0D%0A        // Ask for n%0D%0A        int n = Svetovid.in.readInt(%22Factorial of which number would you like me to calculate? %22);%0D%0A%0D%0A        // Start the calculation timing%0D%0A        Stopwatch stopwatch = new Stopwatch();%0D%0A%0D%0A        // Calculate the factorial%0D%0A        long factorial = 1;%0D%0A        for (int i = 2; i %3C n; i++) %7B%0D%0A            factorial = i * factorial;%0D%0A        %7D%0D%0A%0D%0A        // Print the result%0D%0A        double time = stopwatch.time();%0D%0A        Svetovid.out.writeln(%22The factorial is:%22, factorial);%0D%0A        Svetovid.out.writeln(%22It took%22, time, %22seconds to calculate%22);%0D%0A%0D%0A    %7D%0D%0A%7D%0D%0A

Add a demo for the Stopwatch class