Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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;
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #float #double #Output
ADD COMMENT
Topic
Name
1+7 =