/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
int main()
{
double a = 1/2;
double b = 1./2.;
double c = 0.5;
printf("a: %f\nb: %f\nc: %f",a,b,c);
return 0;
}