0_0_29299492_21092.cpp:10:11: error: '::main' must return 'int' void main() ^ 0_0_29299492_21092.cpp: In function 'int main()': 0_0_29299492_21092.cpp:33:21: error: 'area' was not declared in this scope tv=area(r,R,mid,h); ^