Ultra Geile Studenten Benutzer Oberfläche (UGSBO)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
763 B

  1. /**
  2. *
  3. */
  4. package com.ugsbo.entscheider;
  5. import java.util.Scanner;
  6. import java.util.*;
  7. /**
  8. * @author bruec
  9. *
  10. */
  11. public class Entscheider {
  12. /**
  13. * @param args
  14. */
  15. public static void main(String[] args) {
  16. }
  17. public static String ergebnis(int a, int b, int c, int d, int e, int f, int g, int h) {
  18. return "";
  19. }
  20. public static String fragen() {
  21. return "";
  22. }
  23. public static int skalaTest(int answer){
  24. return 0;
  25. }
  26. public static int getAnInteger() {
  27. Scanner in = new Scanner(System.in);
  28. while (true){
  29. try{
  30. return getAnInteger();
  31. }
  32. catch (InputMismatchException e){
  33. getAnInteger();
  34. System.out.print("Das ist kein Integer. Try again.");
  35. }
  36. }
  37. }
  38. public static int pruefen(int answer) {
  39. return 0;
  40. }
  41. }