Mega Code Archive
Categories
/
C
/
Data Type
Calculation
#include
float area(int width, float height) { return (width * height); } int main() { float size = area(3.0, 20); printf("Area is %f\n", size); return (0); }