top of page
Search

c Program to describe width and precession

#include<stdio.h>

void main()

{

float a=157.8926;

printf("%f\n",a);

printf("%2.2f\n",a);

printf("%7.3f\n",a);

printf("%7.4f\n",a);

printf("%7.5f\n",a);

printf("%.3f\n",a);

printf("%e\n",a);

printf("%.3E\n",a);

}

 
 
 

Recent Posts

See All

Comments


Post: Blog2_Post

©2020 by Fundamentals of computing. Proudly created with Wix.com

bottom of page