Skip to content

Instantly share code, notes, and snippets.

public class Sektkelchpyramide {
public static void main(String[] args) {
int Höhe;
int platzHalterMenge;
String platzHalter = "";
String sektKelche = "";
String eingabe;
package thetemple;
import java.util.Scanner;
import java.util.concurrent.TimeUnit;
public class TheTemple {
public static void main(String[] args) throws InterruptedException {
System.out.println("#The Pyramid#");
package time;
import static java.sql.DriverManager.println;
import java.util.Scanner;
import java.util.concurrent.TimeUnit;
import javax.swing.JOptionPane;
/**
*
* @author G404
static void Begruessung() {
System.out.println("Willkommen!Dies ist ein Taschenrechner.Geben Sie 2 Zahlen ein, um diese dann miteinander zu addieren!");
}
static int addition(int zahl1, int zahl2) {
int erg = zahl1 + zahl2;
return erg;
}
static void Ausgabe(int erg) {
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package raumschiffeversenken;
/**
*
* @author gpbol
package og11bank;
import java.util.Scanner;
public class OG11Bank {
public static void main(String[] args) {
System.out.println("Wie viel möchten Sie abheben?");
Scanner scan1 = new Scanner(System.in);
package hatr;
import java.util.Scanner;
public class HATR {
public static void main(String[] args) {
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package matroschka;
/**
*
* @author Marlon
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package og11;
/**
*
* @author Marlon
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package amazon;
/**
*
* @author Marlon