- 博客(13)
- 资源 (1)
- 问答 (3)
- 收藏
- 关注
原创 Java第三章习题3-7(1到n的阶乘和<=9999)
Find.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Find { public void main(){
2016-09-13 19:31:14 4264
原创 Java第三章习题3-6(完数)
Number.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Number { public void sum(){
2016-09-13 19:29:10 2030
原创 Java第三章习题3-5(1到20的阶乘和)
注:int型已经无法存储,需要定义long型变量Jiecheng.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Jiech
2016-09-13 12:26:12 2541
原创 Java第三章习题3-4(for循环输出俄文字母表)
Letter.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Letter { public void print(){
2016-09-13 12:05:48 9216
原创 Java第三章习题3-3(彩票中奖2)
LotteryNumber.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class LotteryNumber { public
2016-09-13 11:37:33 2772
原创 Java第三章上机实践-实验2-猜数字游戏
Guess.javaimport java.util.Random;import java.util.Scanner;/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator
2016-09-13 11:35:29 3192
原创 Java第三章上机实践-实验1-计算电费
Electricbill.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Electricbill { public
2016-09-13 11:32:18 5504 1
原创 Java第三章42页例3-2(彩票中奖1)
Administrator.java/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Administrator { public
2016-09-13 11:29:52 1904
原创 Java第三章40页例3-1(对整数排序)
Number 类/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class Number { public void sort(int a,in
2016-09-13 11:27:17 1619
原创 java习题2
public class Chinese { public void print(){ char si='思',gu='故',xiang='乡'; int numSi=si,numGu=gu,numXiang=xiang; System.out.printf("思故乡 三个汉字的Unicode码分别为:\n%d\n%d\n%d",numSi,
2016-09-06 12:15:10 2449
原创 java1.12.3实验3(从键盘输入数据)Scanner工具类
import java.util.Scanner;public class Test { public static void main(String[] args){ int amount; float price , sum; Scanner input=new Scanner(System.in); System.ou
2016-09-06 12:12:35 2209
原创 java2.12.2实验2(输出希腊字母表)
PrintGracepublic class PrintGrace { public void printgreek(){ int startPosition=0,endPosition=0; char cStart='α',cEnd='ω'; //将字符转换成Unicode码 startPosition=(int
2016-09-06 12:11:21 6958 2
原创 Java2.12.1实验1(联合编译)
MainClasspublic class MainClass { public void printcom(){ System.out.println("Hello, just need to compile. "); //测试PrintA PrintA a=new PrintA(); a.printa(
2016-09-06 12:09:11 3758
在pycharm里配置了项目虚拟环境,terminal打开并不是在虚拟环境下
2019-04-04
关于对象指针的问题,通过对象指针访问对象和对象成员
2016-04-14
c++关于静态数据成员的问题,看以下程序,会输出什么数字,过程是什么
2016-04-01
TA创建的收藏夹 TA关注的收藏夹
TA关注的人