毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 论文 >> 正文

vb+sqlserver银行计算机储蓄系统(流程图+ER图+可行性分析报告) 第10页

更新时间:2010-3-23:  来源:毕业论文
vb+sqlserver银行计算机储蓄系统(流程图+ER图+可行性分析报告) 第10页
if(act.get_Money()<0) {
  // System.out.println("对不起,您的钱数不够或卡已透支.");
  return false;
  }
  return true;
  }
  /********卡号密码是否正确******/
  protected boolean isRight(String card,String pwd)
  {
  if(act.get_Code().equals(card) && act.get_Password().equals(pwd))
  return true;
  else
  return false;
  }
  /**********密码修改**********/
  protected void Set_Password() throws Exception
  {
  String pwd=null;
  int counter=0;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  do {
  System.out.println("请输入旧密码:");
  pwd=br.readLine();
  if(act.get_Password().equals(pwd))
  {
  do {
  System.out.println("请输入新密码:");
  String pwd1=br.readLine();
  System.out.println("请再次输入新密码:");
  String pwd2=br.readLine();
  if(!pwd1.equals(pwd2))
  {
  System.out.println("两次输入不一致,请再次输入.");
  }
  else
  {
  System.out.println("密码修改成功,请使用新密码.");
  Welcome();
  SysOpter();
  }
  }while(true);
  }
  }while(counter>3);
  }
  /**********锁定机器**********/
  protected void Lock_Sys() {
  System.out.println("对不起,您的操作有误,卡已被没收.");
  System.exit(1);
  }
  /**********结束系统**********/
  protected void Exit_Sys() {
  System.out.println("感谢您使用本系统,欢迎下次在来,再见!");
  System.exit(1);
  }
  }
  public class Text
  {
  public static void main(String[] args) throws Exception
  {
  ATM atm=new ATM();
  atm.Welcome();
  atm.Load_Sys();
  // atm.Exit_Sys();

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 

vb+sqlserver银行计算机储蓄系统(流程图+ER图+可行性分析报告) 第10页下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。