自学第八十一天

//#include<stdio.h>
//#include<limits.h>
//#include<float.h>
//int main()
//{
//	printf("Some number limits for this system:\n");
//	printf("Biggest int : %d\n", INT_MAX);
//	printf("Smallest long long: %lld\n", LLONG_MIN);
//	printf("One byte = %d bits on this system.\n", CHAR_BIT);
//	printf("Largest double: %e\n", DBL_MAX);
//	printf("Smallest normal float: %e\n", FLT_MIN);
//	printf("float precision = %d digits\n", FLT_DIG);
//	printf("float epsilon = %e\n", FLT_EPSILON);
//	return 0;
//}

//#include<stdio.h>
//#define pi 3.141593
//int main()
//{
//	int number = 7;
//	float pies = 12.75;
//	int cost = 7800;
//	printf("the %d contestants are %f berry pies.\n", number, pies);
//	printf("the value of pi is %f.\n", pi);
//	printf("farewell! thou art too dear for my possessing,\n");
//	printf("%c%d\n", '$', 2 * cost);
//	return 0;
//}

//#include<stdio.h>
//#define PAGES 959
//int main()
//{
//	printf("*%d*\n", PAGES);
//	printf("*%2d*\n", PAGES);
//	printf("*%10d*\n", PAGES);
//	printf("*%-10d*\n", PAGES);
//	return 0;
//}


猜你喜欢

转载自blog.51cto.com/15019599/2629860
今日推荐