Precision - Three Decimal Points

C CODE:

#include<stdio.h>
#include <stdlib.h>

int main()
{
    double i,n,j;
scanf("%lf",&n);
printf("%.3lf",n);
}

Comments

Popular posts from this blog

Reverse String Till Underscore

Count of common characters in two strings

RECTANGULAR SUM