Advertisement
Guest User

Untitled

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