Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C float and double Output

#include <stdio.h>
int main()
{
    float number1 = 13.5;
    double number2 = 12.4;

    printf("number1 = %f
", number1);
    printf("number2 = %lf", number2);
    return 0;
}
 
PREVIOUS NEXT
Tagged: #C #float #double #Output
ADD COMMENT
Topic
Name
5+6 =