Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 22nd, 2012  |  syntax: None  |  size: 0.76 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. maned = fil.inInt(";");
  2.                     ar = fil.inInt(";");
  3.                     totalFortjeneste = fil.inInt(";");
  4.                     totalAntallManeder = fil.inInt(";");
  5.                     for(int i = 0; i < 3; i++) {
  6.                         for(int j = 0; j < 6; j++) {
  7.                             int etasje = fil.inInt(";");
  8.                             char bokstav = fil.inChar(" \n\r;");
  9.                             int rom = (int) (bokstav - 'A');
  10.                             hybler[i][j] = new Hybel();
  11.                             hybler[i][j].leietager = new Student();
  12.                                 hybler[i][j].leietager.saldo = fil.inInt(" ;");
  13.                             hybler[i][j].leietager.navn = fil.inLine();
  14.                                         // Priser. 6000 hvis hybelen er i 3. etasje, ellers 5000.
  15.                             if(i==2)
  16.                                 hybler[i][j].husleie = 6000;
  17.                             else
  18.                                 hybler[i][j].husleie = 5000;