摘要: abstract class Geometr //定义抽象类,几何图形{ public abstract double getArea(); //抽象函数,得到底面积} class Pillar //柱子类 { Geometr bottom; //柱子的底面 double height; //柱子的 阅读全文
posted @ 2020-12-08 21:24 bobo哥 阅读(473) 评论(0) 推荐(0)
摘要: 源程序: //*******************************//程序:冒泡排序//描述:用外层趟数和内层交换数完成//输入:用数组输入//输出:用显示器输出//其他://*******************************#include <iostream>#includ 阅读全文
posted @ 2020-12-08 20:40 bobo哥 阅读(1361) 评论(0) 推荐(0)