displaystatistics398.cpp
来自「Data Abstraction & Problem Solving with 」· C++ 代码 · 共 11 行
CPP
11 行
#include "Sphere396.h"#include <iostream>using namespace std; void Sphere::displayStatistics() const{ cout << "\nRadius = " << getRadius() << "\nDiameter = " << getDiameter() << "\nCircumference = " << getCircumference() << "\nArea = " << getArea() << "\nVolume = " << getVolume() << endl;} // end displayStatistics
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?