Advertisement
Guest User

Ausrechnen

a guest
Oct 13th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public class Ausrechnen {
  2. public static void main(String args [] ) {
  3. final int zahl1 = 5
  4. final int zahl2 = 10
  5. int ergebnis = zahl1 + zahl2
  6. System.out.println("addition: " + zahl1 + " + " + zahl2 + " = " +ergebnis)
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement