Category: Computer Programming

5 September 2011

แบบฝึกหัด การคูณเมตริก (ex. com.pro.)

by wudthipong — Categories: Computer ProgrammingLeave a comment

แบบฝึกหัด Computer Programming

การคูณเมตริก

โจทย์

จงเขียนโปรแกรมภาษาซีเพื่อคำนวณค่าผลคูณของเมตริกขนาด A[4x5] กับ B[5x3]


คำแนะนำ

 

1 September 2011

แบบฝึกหัด เล่นกับตัวเลข (ex. com.pro.)

by wudthipong — Categories: Computer Programming1 Comment

แบบฝึกหัด Computer Programming

เล่นกับตัวเลข

โจทย์

จงเขียนโปรแกรมภาษาซีเพื่อช่วยหาตัวเลขตั้งแต่ 0000 – 9999
ว่ามีตัวเลขใดที่นำตัวเลขแต่ละหลักมายกกำลัง 4
แล้วหาผลรวมจะทำให้ได้ผลลัพธ์เท่ากับตัวเลขเดิม ตัวอย่างเช่น 1634
เมื่อนำ (1 ยกกำลัง 4 + 6 ยกกำลัง 4 + 3 ยกกำลัง 4 + 4 ยกกำลัง 4 = 1634)

รหัสผ่าน
© 2012 www.wudthipong.com All rights reserved - Wallow theme v0.46.5 by ([][]) TwoBeers - Powered by WordPress - Have fun!