cock and ball torture

master
Domen 2025-02-17 02:01:11 -08:00
parent 05eced9ec0
commit aa6dfcb4ca
3 changed files with 22 additions and 3 deletions

View File

@ -9,6 +9,7 @@ public class Eingabe
Scanner sc = new Scanner(System.in);
int eingabe1 = sc.nextInt();
System.out.println("Bitte zweite Zahl eingeben:");
int eingabe2 = sc.nextInt();
int summe;
summe = eingabe1 + eingabe2;

View File

@ -3,8 +3,8 @@
public class Methoden
{
public static int quadrat(int x) {
int quadrat;
public static double quadrat(double x) {
double quadrat;
quadrat = x * x;
return quadrat;
}
@ -17,7 +17,7 @@ public static int quadrat(int x) {
public static void quadratzahlen(){
int x = 1;
float x = 1;
while(quadrat(x) < 500){
System.out.println(quadrat(x));

18
ParameterUndSo.java Normal file
View File

@ -0,0 +1,18 @@
public class ParameterUndSo{
public static void summe(int a, int b){
int summe = a + b;
System.out.println(summe);
}
public static void differenz(int c, int d){
int differenz = c - d;
System.out.println(differenz);
}
}