/**
*
* Beschreibung
*
* @version 1.0 vom 03.02.2010
* @author
*/
public class Addition {
public static void main(String[] args) {
int summand1, summand2, summe;
System.out.println("Geben Sie den ersten Summanden ein!");
summand1= InOut.readInt();
System.out.println("Geben Sie den zweiten Summanden ein!");
summand2= InOut.readInt();
summe=summand1+summand2;
System.out.println("Die Summe der eingegebenen Zahlen ist: ");
System.out.println(summe);
}
}
---
/**
*
* Beschreibung
*
* @version 1.0 vom 03.02.2010
* @author
*/
public class subtraktion {
public static void main(String[] args) {
int zahl1, zahl2, differenz;
System.out.println("Geben Sie den ersten Minuend ein!");
zahl1= InOut.readInt();
System.out.println("Geben Sie den zweiten Subtrahend ein!");
zahl2= InOut.readInt();
differenz=zahl1-zahl2;
System.out.println("Die Differenz der eingegebenen Zahlen ist: ");
System.out.println(differenz);
}
}
---
/**
*
* Beschreibung
*
* @version 1.0 vom 03.02.2010
* @author
*/
public class Multiplikation {
public static void main(String[] args) {
int zahl1, zahl2, produkt;
System.out.println("Geben Sie den ersten Faktor ein!");
zahl1= InOut.readInt();
System.out.println("Geben Sie den zweiten Faktor ein!");
zahl2= InOut.readInt();
produkt=zahl1*zahl2;
System.out.println("Die Produkt der eingegebenen Zahlen ist: ");
System.out.println(produkt);
}
}
---
/**
*
* Beschreibung
*
* @version 1.0 vom 03.02.2010
* @author
*/
public class Division {
public static void main(String[] args) {
int zahl1, zahl2, quotient;
System.out.println("Geben Sie den Dividend ein!");
zahl1= InOut.readInt();
System.out.println("Geben Sie den Divisor ein!");
zahl2= InOut.readInt();
quotient=zahl1/zahl2;
System.out.println("Die Quotient der eingegebenen Zahlen ist: ");
System.out.println(quotient);
}
}
---
Bitte um hilfe.






