C Program to print convert feet to meter

Introduction

C Program to print convert feet to meter. I have used Code:: Blocks compiler for debugging purpose. But you can use any C programming language compiler as per your availability.

#include<stdio.h>
int main()
{
    float meter,feet;

    printf("Enter feet : ");
    scanf("%f",&feet);

    meter = feet / 3.2808399;
    printf("meter: %f",meter);

    return 0;
}

Result

C Program to print convert feet to meter
C Program to print convert feet to meter

2 thoughts on “C Program to print convert feet to meter”

Leave a Comment