金融危機下的軟件開發人員生活

public class TheseDays(){
 int workTime=0;
 Peole p=new People(Zhu Ck);

 Project pro=new Project(ABC);

 public  static void main(String[] args) throws Exception{
  if(workTime<10){
   p.doJob();
   p.moreTired();
   p.getMoney();

   if(pro.end==true){

      p.endWork();

  }
  }
 }

 public void moreTired(People p) throws Exception{
  p.tired++;
 }

 public int getMoney(int wage) throws Exception{
  int m=0;
  if(workTime==8){
   m=wage;
  }else if(workTime>8){
   m=wage;
  }else if(workTime<8){
   m=wage-((8-workTime)/24)*wage;
  }
  return m;
 }

 public static void rest() throws Exception{
  p.tired - -;
 }
 
 public int getPrise(int yearTime,int wage) throws Exception{
  if(yearTime>1){
   wage<=wage*3;
  }else{
   wage=0;
  }
 }
 public int endWork(){
  try{
   p.getPrise();
   }catch(Exception e){
    e.printStrace();
  }
  return null;
 }
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章