Answers for "float and double Output"

C
0

float and double Output

#include <stdio.h>
int main()
{
    float number1 = 13.5;
    double number2 = 12.4;
  
    printf("number1 = %f\n", number1);
    printf("number2 = %lf", number2);
    return 0;
}
Posted by: Guest on March-03-2022
0

float and double Output

#include <stdio.h>
int main()
{
    float number1 = 13.5;
    double number2 = 12.4;
  
    printf("number1 = %f\n", number1);
    printf("number2 = %lf", number2);
    return 0;
}
Posted by: Guest on March-03-2022

Code answers related to "C"

Browse Popular Code Answers by Language