Mega Code Archive

 
Categories / C / Data Type
 

Calculation

#include <stdio.h> 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); }