/******************************************************************************
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>
float a;
int b;
int main()
{
a = 5.5;
b = a;
a *= 10;
if ((a - b*10)>5) b++;
printf("float: %f , int: %i",a,b);
return 0;
}