摘要:
public class lianxi{ public static void main(String[] args){ int[] arr = new int[]{11,22,55,88,44,99}; int a=0; for(int i=0;i<arr.length-1;i++){ if(ar 阅读全文
posted @ 2019-03-13 10:03
~王~
阅读(120)
评论(0)
推荐(0)
摘要:
/*public class zuoye{ public static void main(String[] args){ int sum=0; for(int i=0;i<=100;i++){ if(i%2==0){ sum=sum+i; } } System.out.println("1 100 阅读全文
posted @ 2019-03-13 08:32
~王~
阅读(154)
评论(0)
推荐(0)
摘要:
/*import java.util.Scanner;public class zuoye{ public static void main(String[] args){ System.out.println("请输入考试成绩"); Scanner a= new Scanner(System.in 阅读全文
posted @ 2019-03-13 08:31
~王~
阅读(159)
评论(0)
推荐(0)
摘要:
/*import java.util.Scanner;public class zuoye{ public static void main(String[] args){ System.out.println("请输入值"); Scanner a=new Scanner(System.in); i 阅读全文
posted @ 2019-03-13 08:30
~王~
阅读(433)
评论(0)
推荐(0)
摘要:
/*import java.util.Scanner;import java.util.Random;public class lianxi1{ public static void main(String[] args){ Random a=new Random(); int d =a.nextI 阅读全文
posted @ 2019-03-13 08:29
~王~
阅读(115)
评论(0)
推荐(0)
摘要:
//定义一个类/*public class zuoye{ //主方法 public static void main(String[] args){ //顶部 //控制台输出 System.out.println(" 商品库存清单 "); //控制台输出 System.out.println("品牌 阅读全文
posted @ 2019-03-13 08:28
~王~
阅读(93)
评论(0)
推荐(0)
摘要:
public class lianxi1{ public static void main(String[] args){ int b = 123; int g = 123%120; int bai = 123/100; int shi = (123%100)/10; System.out.prin 阅读全文
posted @ 2019-03-13 08:27
~王~
阅读(84)
评论(0)
推荐(0)
摘要:
public class jieri{ public static void main(String[] args){ double price=100; price=(price>=50)?price*0.88:price*1; System.out.println(price); }} 阅读全文
posted @ 2019-03-13 08:26
~王~
阅读(203)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript" src= "js/jquery-1.8.3.js"></script> <script type="t 阅读全文
posted @ 2019-03-13 08:25
~王~
阅读(91)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function init(){ var d=document.getElementById("b"); var e=document.getEl 阅读全文
posted @ 2019-03-13 08:24
~王~
阅读(88)
评论(0)
推荐(0)
浙公网安备 33010602011771号