งานภาษา C ชิ้นที่ 5 - TopicsExpress



          

งานภาษา C ชิ้นที่ 5 ยาวชิบหาย T T #include #include #include #define textcolor(txt,back) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), back*16+txt) #define resetcolor() SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 15) int Computer,Acer,Acer1,Acer2,Acer3,Acer4,Acer5; main() { textcolor(108,00); printf(\n\t\t\t\tNo_1Acer.\n); printf(Computer= ); scanf(%d,&Computer); printf(Acer ); printf(\n\n\tAcer1= 8,900 ); printf(\n\n\tAcer2= 10,900 ); printf(\n\n\tAcer3= 18,900 ); printf(\n\n\tAcer4= 23,900 ); printf(\n\n\tAcer5= 25,900 ); printf(\n\n\tAcer6= 54,900 ); printf(\n\n\tAcer7= 59,900 ); printf(\n\n\tAcer8= 16,990 ); printf(\n\n\tAcer9= 16,900 ); printf(\n\n\tAcer10= 15,900 ); printf(\n\n\tAcer= ); scanf(%d,&Acer); if(Acer==1) { textcolor(107,00); printf(notebook\n,Acer); printf(\nAcer = Aspire E3-111-C5GL.\n); printf(\nCPUIntel = Celeron N2830 2.16 GHz, 1MB L2 Cache, up to 2.41 GHz.\n); printf(\nChipset Mobile = Intel Express Chipset.\n); printf(\nGraphic = CardIntel HD Graphics 4000.\n); printf(\nSize = 11.6 inch WXGA (1366x768) LED.\n); printf(\nMemory = 2 GB DDR3L.\n); printf(\nHard Disk = 320GB 7200 RPM.\n); } if(Acer==2) { textcolor(31,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire E5-411-C2BE.\n); printf(\nCPUIntel = Celeron N2830 (2.16 GHz, 1MB L2 Cache, up to 2.41 GHz.\n); printf(\nChipset Mobile = Intel Express Chipset.\n); printf(\nGraphic Card= Intel HD Graphics 4000.\n); printf(\nSize = 14 inch WXGA (1366x768) LED.\n); printf(\nMemory = 4 GB DDR3L.\n); printf(\nHard Disk = 500GB 5400 RPM.\n); } if(Acer==3) { textcolor(36,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire E1-472G-54204G1TMnkk,Mnww.\n); printf(\nCPU = Intel Core i5-4200U (1.60 GHz, 3 MB L3 Cache, up to 2.60 GHz).\n); printf(\nChipset Mobile = Intel HM77 Express Chipset.\n); printf(\nGraphic Card = nVidia GeForce GT820M (2GB GDDR3).\n); printf(\nSize = 14inch WXGA (1366x768) LED.\n); printf(\nMemory = 4 GB DDR3L.\n); printf(\nHard Disk = 1TB 5400 RPM.\n); } if(Acer==4) { textcolor(377,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire P3-171-5333Y4G12as.\n); printf(\nCPU = Intel Core i5-4200U (1.60 GHz, 3 MB L3 Cache, up to 2.60 GHz).\n); printf(\nChipset Mobile = Intel HM77 Express Chipset.\n); printf(\nGraphic Card = Intel HD Graphics 4000.\n); printf(\nsize = 11.6 inch WXGA (1366x768) Multi-touch LED.\n); printf(\nMemory = 4 GB DDR3L.\n); printf(\nHard Disk = 120GB SSD.\n); } if(Acer==5) { textcolor(500,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire E5-572G-78HY/T002.\n); printf(\nCPU = Intel Core i7-4712MQ (2.30 GHz, 6 MB L3 Cache, up to 3.30 GHz).\n); printf(\nChipset Mobile = Intel HM86 Express Chipset.\n); printf(\nGraphic Card = nVidia GeForce 840M (2GB GDDR3).\n); printf(\nSize = 15.6 inch WXGA (1366x768) LED.\n); printf(\nMemory = 8GB DDR3L.\n); printf(\nHard Disk = 1TB 5400 RPM.\n); } if(Acer==6) { textcolor(120,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire S7-392-54208G25tws/T005.\n); printf(\nCPU = Intel Core i5-4200U (1.60 GHz, 3 MB L3 Cache, up to 2.60 GHz).\n); printf(\nChipset Mobile = Intel HM87 Express Chipset.\n); printf(\nGraphic Card = Intel HD Graphics 4400.\n); printf(\nSize = 13.3 inch LED (1920x1080) Full HD IPS.\n); printf(\nMemory = 8 GB DDR3L.\n); printf(\nHard Disk = 256GB SSD.\n); } if(Acer==7) { textcolor(30,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire S7-392-74508G25tws/T004\n); printf(\nCPU = CPUIntel Core i7-4500U (1.80 GHz, 4MB L3 Cache, up to 3.00 GHz)\n); printf(\nChipset = Mobile Intel HM87 Express Chipset\n); printf(\nGraphic Card = Intel HD Graphics 4400\n); printf(\nSize = 13.3 inch LED (1920x1080) Full HD IPS\n); printf(\nMemory = 8 GB DDR3L\n); printf(\nHard Disk = 256GB SSD\n); } if(Acer==8) { textcolor(20,00); printf(notebook.\n,Acer); printf(\nAcer = TravelMate TMP245-M-54204G1TMnkk\n); printf(\nCPU = Intel Core i5-4200U (1.60 GHz, 3 MB L3 Cache, up to 2.60 GHz)\n); printf(\nChipset = Mobile Intel HM86 Express Chipset\n); printf(\nGraphic Card = Intel HD Graphics 4400\n); printf(\nSize = 14.1 inch WXGA (1366x768) LED\n); printf(\nMemory = 4 GB DDR3\n); printf(\nHard Disk = 1 TB 5400 RPM\n); } if(Acer==9) { textcolor(60,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire E1-472G-34014G1TMnkk\n); printf(\nCPU = Intel Core i3-4010U (1.7 GHz, 3 MB L3 Cache)\n); printf(\nChipset = Mobile Intel HM77 Express Chipset\n); printf(\nGraphic Card = nVidia GeForce GT820M (2GB GDDR3)\n); printf(\nSize = 14 inch WXGA (1366x768) LED\n); printf(\nMemory = 4 GB DDR3\n); printf(\nHard Disk = 1 TB 5400 RPM\n); } if(Acer==10) { textcolor(70,00); printf(notebook.\n,Acer); printf(\nAcer = Aspire E1-430P-21174G50Mnkk/T001\n); printf(\nCPU = Intel Pentium 2117U(1.80 GHz, 2 MB L3 Cache)\n); printf(\nChipset = Mobile Intel HM70 Express Chipset\n); printf(\nGraphic Card = Intel HD Graphics 4000\n); printf(\nSize = 14 inch WXGA (1366x768) Multi-touch screen\n); printf(\nMemory = 4 GB DDR3\n); printf(\nHard Disk = 500 GB 5400 RPM\n); } getch(); }
Posted on: Mon, 25 Aug 2014 04:20:38 +0000

Trending Topics



Recently Viewed Topics




© 2015