C Programming (ج البرمجة)
Pages
Home Page
Programming and IT Research Center
Basic Electronic for C.S.E
Saturday, July 20, 2013
Convert meter to feet in C Program
convert meter to feet
#include<stdio.h>
int main()
{
float m,f;
printf("Enter the value of meter : ");
scanf("%f",&m);
f = 3.2808399 * m;
printf("feet: %f",f);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment