Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  IDK
Language: C/C++
Code:
#include <stdio.h>
int main()
{
float pictureWidth, pictureHeight, pictureSurfaceArea, circleRadius, circleSurfaceArea;
pictureWidth =8;
pictureHeight = 4.5;
circleRadius = 5.0;
pictureSurfaceArea = pictureWidth*pictureHeight;
circleSurfaceArea = circleArea(circleRadius);
return 0;
}

float circleArea(float theRadius)
{
float theArea;
theArea = 3.1416* theRadius * theRadius;
return theArea;
}

          
Comments: