Page 192 - C Programming
P. 192

ตัวอย่างที่ 15.4 โปรแกรมนับ 00 ถึง 99 แสดงผลบนหลอดแสดงผล 7 ส่วน











                        #include <stdio.h>


                        main()


                           { char count=0,di0,di1;


                              int  d_lay=3000;



                              clrscr();


                              printf("******************\n");


                              printf("7 Segment 2 digits\n");


                              printf(" Counter  00 to 99\n");



                              printf("******************\n");
   187   188   189   190   191   192   193   194   195   196   197