摘要: 1 import java.util.Scanner; 2 3 4 //三目运算符 5 public class SingleQuestion{ 6 public static void main(String args[]){ 7 int x = 10; 8 int y = 9; 9 int max = x > y ... 阅读全文
posted @ 2016-11-07 19:07 cheney-yang 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.Scanner; 2 3 public class SingleQuestion { 4 public static void main(String[] args) { 5 boolean flag = false; 6 //1.输出题目 7 System.out.println("\... 阅读全文
posted @ 2016-11-05 11:20 cheney-yang 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-11-04 11:25 cheney-yang 阅读(8941) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class SwitchTest01 { public static void main(String[] args) { System.out.println("请输入月份"); Scanner sc = new Scanner(System.in); int ... 阅读全文
posted @ 2016-10-28 20:01 cheney-yang 阅读(372) 评论(0) 推荐(0) 编辑
摘要: This is Cheney-Yang's blog ! Welcome to here ! This is Cheney-Yang's blog ! Welcome to here ! This is Cheney-Yang's blog ! Welcome to here ! This is C 阅读全文
posted @ 2016-10-28 18:36 cheney-yang 阅读(436) 评论(2) 推荐(0) 编辑
摘要: public class ShoppingSystem{ public static void main(String[] args){ //System.out.println("**********************************\t"); System.out.println( 阅读全文
posted @ 2016-10-28 18:25 cheney-yang 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Main { public static void main ( String args[] ) { Scanner in = new Scanner( System.in ); int a = in.nextInt(); 阅读全文
posted @ 2016-10-20 20:16 cheney-yang 阅读(732) 评论(0) 推荐(0) 编辑
摘要: 获取当前时间的代码:Response.Write(DateTime.Now);第一次加载页面的语句:if (!IsPostBack) { Response.Write("这是第一次加载界面"); } else { ... 阅读全文
posted @ 2016-01-09 22:30 cheney-yang 阅读(285) 评论(0) 推荐(0) 编辑
摘要: HTML5--JS API-本地存储 Web留言板 亲,写下你的建议帮助我们做的更好哦 ... 阅读全文
posted @ 2016-01-09 03:47 cheney-yang 阅读(876) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Data.SqlClient;using System.Configur... 阅读全文
posted @ 2016-01-09 03:44 cheney-yang 阅读(1239) 评论(0) 推荐(0) 编辑