#include<stdio.h>
#include<math.h>
int main(void)
{
printf("%f", round((27 + 28 + 28)/3));
}
The roundoff is 28 but it is giving an output of 27. Please help
#include<stdio.h>
#include<math.h>
int main(void)
{
printf("%f", round((27 + 28 + 28)/3));
}
The roundoff is 28 but it is giving an output of 27. Please help