?? ch6_5.cpp
字號(hào):
//*********************
//** ch6_5.cpp **
//** 主函數(shù) **
//*********************
#include <iostream.h>
#include "myarea.h"
void main()
{
double width,length;
cout <<"please enter two numbers:\n";
cin >>width >>length;
cout <<"area of rectangle is " <<rect(width,length) <<endl;
double radius;
cout <<"please enter a radius:\n";
cin >>radius;
cout <<"area of circle is " <<circle(radius) <<endl;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -