Feet to meter

Program:

#include<stdio.h>
int main()
{
float f,m;
printf("\nEnter feet : ");
scanf("%f",&f);
m=f*0.3048;
printf("meter: %.4f",m);
return 0;

}

Output:


No comments:

Post a Comment

x^y using recursion

Program: #include<stdio.h> int power(int a,int b); int main() { int x,y,ans; printf("Enter x and y:\n "); scanf(...