C Program to use of float data type

 

C Program to use of float Data Type

 



// C Program to use of float data type

#include<stdio.h>

void main()

{

    float a=30.0;

    float b= 20.0;

    //clrscr();

    printf("\t\t\t***Output***\n");

    printf(" The two integers are:%f\t%f\n",a,b);

}

 

***Output***

The two integers are:30.000000 20.000000

 

टिप्पणी पोस्ट करा

0 टिप्पण्या