java课程设计---彩票销售管理系统

彩票购买销售系统

1.项目git地址

https://git.oschina.net/fenm/lotterry.git

部分项目地址提交截图

项目主要功能图

团队博客链接

http://www.cnblogs.com/toonaive/p/7063362.html

个人负责模板或任务说明

1.构建允许注册界面
2.负责完成登录界面

本人负责的主要功能展示与代码分析

public class lotteryfunc {
Scanner sc=new Scanner(System.in);

//注册
public void register(){

System.out.println("请输入你的id");
String id=sc.next();
System.out.println("请输入你的用户名");

String username=sc.next();
System.out.println("请输入你的密码");
String password=sc.next();
System.out.println("请输入你的电话号码");
String telephone=sc.next();
System.out.println("注册成功");

}
public void landing(){
Scanner sc=new Scanner(System.in);
System.out.println("请输入你的用户名");
String name=sc.next();
System.out.println("请输入你的密码");
String word=sc.next();

if(name.equals("feng")&&word.equals("123"))
	System.out.println("登陆成功");
else
	System.out.println("登陆失败");

}

课程设计出现的问题以及感想

感觉这次的课程设计时间太赶,导致自己做的不够好,没有做到自己希望做到的样子,不过通过此次的课程设计,自己加深了对java代码更加的了解和掌握,还是有一定收获的。

posted @ 2017-06-23 08:32  杰micc  阅读(671)  评论(1编辑  收藏  举报