الطباعة على الشاشة نحو البرمجة بـ Xcode
float circleArea (float theRadius)
// first custom function
{
float theArea;
theArea =
3.1416 theRadius
* theRadius;
return theArea;
}
float rectangleArea (float width, float height)
// second custom function
{
return width*height;
}
~.
ص ٣٦