plain/semester_1/erg5_ask4/Erg5_Ask4.java
public static void main(String[] args) {
        int xorhtikothta, theseis = 0, roomCount = 0;
        int ypopshfioi; ypopshfioi = 100;
        int epithrhtes;
        
        do {
            System.out.print("enter room capacity: ");
            xorhtikothta = scannerUserInput.getInteger();
            theseis += xorhtikothta;
            roomCount++;
            
            if ( xorhtikothta <= 15 ) {
                epithrhtes = 1;
            }
            else if ( xorhtikothta <=23 ) {
                epithrhtes = 2;
            }
            else {
                epithrhtes = 3;
            }
        }
        while (theseis < ypopshfioi);
        System.out.println("rooms used: " + roomCount + ", supervisors: " + epithrhtes + ", total seats: " + theseis);
    }
/**
     * @param args the command line arguments
     */
@param args the command line arguments
@param args the command line arguments
public static void main(String[] args) {
        int xorhtikothta, theseis = 0, roomCount = 0;
        int ypopshfioi; ypopshfioi = 100;
        int epithrhtes;
        do {
            System.out.print("enter room capacity: ");
            xorhtikothta = scannerUserInput.getInteger();
            theseis += xorhtikothta;
            roomCount++;
            if ( xorhtikothta <= 15 ) {
                epithrhtes = 1;
            }
            else if ( xorhtikothta <=23 ) {
                epithrhtes = 2;
            }
            else {
                epithrhtes = 3;
            }
        }
        while (theseis < ypopshfioi);
        System.out.println("rooms used: " + roomCount + ", supervisors: " + epithrhtes + ", total seats: " + theseis);
    }
public static void main ( String [ ] args ) { int xorhtikothta , theseis = 0 , roomCount = 0 ; int ypopshfioi ; ypopshfioi = 100 ; int epithrhtes ; do { System . out . print ( "enter room capacity: " ) ; xorhtikothta = scannerUserInput . getInteger ( ) ; theseis += xorhtikothta ; roomCount ++ ; if ( xorhtikothta <= 15 ) { epithrhtes = 1 ; } else if ( xorhtikothta <= 23 ) { epithrhtes = 2 ; } else { epithrhtes = 3 ; } } while ( theseis < ypopshfioi ) ; System . out . println ( "rooms used: " + roomCount + ", supervisors: " + epithrhtes + ", total seats: " + theseis ) ; }
@param args the command line arguments
@param args the command line arguments