![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
เฉลยข้อสอบคอมโปรฯ Q3
Posted by Pongpat Janthai on กันยายน 15, 2010 – 5:42 pm
เฉลยข้อสอบคอมโปรฯ Q3
รับตัวเลขจำานวนเต็มบวกจากแป้นพิมพ์ นับจำานวนเลขคู่ จนกว่าจะใส่เป็น 0 แสดงผลลัพธ์ออกทาง
จอภาพ
ตัวอย่างผลรันเมื่อกรอก 1 2 3 4 5 6 7 8 9 0
Input an integer: 1
Input an integer: 2
Input an integer: 3
Input an integer: 4
Input an integer: 5
Input an integer: 6
Input an integer: 7
Input an integer: 8
Input an integer: 9
Input an integer: 0
Even count = 4
แสดงความคิดเห็น (กรุณาใส่ ชื่อ,อีเมล ให้ถูกต้อง)
เรื่องอื่นๆที่น่าสนใจ
ป้าดโธ๊..โอ้วว่าจ๊าน!!
ตัวอย่างข้อสอบคอมโปรฯQ2
ติดตั้งwordpress ทำseoเจ๋งจริงๆ