#include
void main()
{
const double pi=3.14;
double redius;
double area;
cout<<"please input redius"<
area=pi*redius*redius;
cont<<"area of circle of redius" << redius <<" is "<}
问题描述:
--------------------Configuration: 圆的面积 - Win32 Debug--------------------
Compiling...
圆的面积.cpp
e:\msdev98\myprojects\圆的面积\圆的面积.cpp(10) : error C2065: 'cont' : undeclared identifier
e:\msdev98\myprojects\圆的面积\圆的面积.cpp(10) : error C2297: '<<' : illegal, right operand has type 'char [25]'
执行 cl.exe 时出错.
圆的面积.exe - 1 error(s), 0 warning(s)