import java.awt.*; import java.applet.*; public class Forsilmukka extends Applet { public void paint(Graphics g) { int laskuri; for (laskuri =1; laskuri <= 10; laskuri++) g.drawString(" " + laskuri, laskuri*10, 25); } }