Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.  
  2. public class DasKleineEinmaleins {
  3.  
  4.     public static void main(String[] args) {
  5.         int ergebnis = 1;
  6.         int k = 1;
  7.         for (;ergebnis <= 9;k++)
  8.         {
  9.             ergebnis = 1*k;
  10.             System.out.println("1 x " + k + " = " + ergebnis);
  11.            
  12.         }
  13.  
  14.     }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement