int summand1;
int summand2;
int summe;
int minuend;
int subtrahend;
int differenz;
int faktor1;
int faktor2;
int produkt;
int divident;
int divisor;
int quotient;
int divident1;
int divisor1;
int rest;
summand1 = 5;
summand2 = 6;
summe = summand1 + summand2;
minuend = 100;
subtrahend = 50;
differenz = minuend - subtrahend;
faktor1 = 10;
faktor2 = 5;
produkt = faktor1 * faktor2;
divident = 500;
divisor = 5;
quotient = divident / divisor;
divident1 = 100;
divisor1 = 9;
rest = divident1 % divisor1;
System.out.println ("Resultaten" +summe"\n"+differenz"\n"+produkt"\n"+quotient"\n"+rest);
wie gebe ich am besten die reultaten aus?
es gibt mir 9 errors.
bei System.out.println muss man es geschickter mache. aber wie ??
danke