229k views
3 votes
Create a float variable named area.

User Aleks
by
8.4k points

1 Answer

2 votes

Answer:

float area;

Step-by-step explanation:

The float datatype is used for storing the decimal number .The syntax of declaring float variable is given below.

float variablename ;

float area;

area=89.900002; // storing the value

following the program in c language

#include<stdio.h> // header file

int main() // main function

{

float area=89.900002; // declared and initialize a float variable

printf("%f",area); // display the area value

return 0;

}

User Lupo
by
7.8k points