#include <iostream.h>
int area (int wid, int len)
{
return wid * len;
}
main()
{
int wid = 5, len = 6;
cout << area ( wid, len);
}
There's my code. While it still works perfectly fine, I dont quite understand the purpose of the area function in this particular code.
And here are some other things in C++ that I'm not yet sure of what they mean:
return 0;
void function();
end1
If someone could help me out, I'd be a very happy person