/* convert feet to meter */
#include<stdio.h>
int main()
{
float m,f;
printf("Type feet : ");
scanf("%f",&f);
m = f / 3.2808399;
printf("meter: %f",m);
return 0;
}
Related posts:
Convert meter to feet
http://cbasicprogram.blogspot.com/2012/01/convert-meter-to-feet-c-program.html
#include<stdio.h>
int main()
{
float m,f;
printf("Type feet : ");
scanf("%f",&f);
m = f / 3.2808399;
printf("meter: %f",m);
return 0;
}
Related posts:
Convert meter to feet
http://cbasicprogram.blogspot.com/2012/01/convert-meter-to-feet-c-program.html
use c99 standard and use gcc compiler(linux) if possible.
ReplyDeleteint main(void) {
content
return0
}
Thanks for pointing this out :)
Delete