Search C Program

Convert meter to feet

/* convert meter to feet */

#include<stdio.h>
int main()
{
    float m,f;
    printf("Type meter : ");
    scanf("%f",&m);
    f = 3.2808399 * m;
    printf("feets: %f",f);
    return 0;
}

Related posts:
Convert feet to meter
http://cbasicprogram.blogspot.com/2012/01/convert-feet-to-meter.html

1 comment: