随笔分类 - C语言
C语言学习笔记
摘要:Windows系统,C语言个人所得税计算系统。 1 #include <stdio.h> 2 3 #include <windows.h> 4 5 int main() 6 7 { const int ZBB=5000; 8 9 const float Ctaxrate0=0; 10 11 cons
阅读全文
摘要:在Windows系统上,用C语言编写闹钟程序。 一、用do...while语句实现循环响铃 1 /*此程序用do...while语句实现循环响铃*/ 2 3 #include <stdio.h> 4 5 #include <windows.h> 6 7 #include <winbase.h> 8
阅读全文
摘要:1 #include <stdio.h> 2 int main() 3 { 4 float a,b,s; 5 a=1.0/2; 6 b=1.0/3; 7 s=a+b; 8 printf("s=%f\n",s ); 9 return 0; 10 } 11 12 13 14 15 /*计算两位数整数各位
阅读全文

浙公网安备 33010602011771号