[不知] 誠徵季節作業一份

看板b92902xxx作者 (少廢話多做事)時間19年前 (2005/04/18 18:59), 編輯推噓-9(1104)
留言15則, 14人參與, 最新討論串1/1
Problem: Write a MIPS assembly language program to sort an integer array in ascending order, compute its average, and then print the results. There is a built-in twenty elements array: [ 8, 10, 19, 25, 7, 18, 22, 6, 9, 12, 2, 5, 23, 14, 28, 21, 11, 26, 1, 13 ] The MIPS program must do the following work: First, ask the user to input two integers a, b from keyboard console. ( a may be largerthan, or smaller than b) Truncate the array from element a to element b Sort the truncated array in ascending order. Compute the average of the numbers in the truncated array. Then print the results. Example: If the inputs are a= 12, b=7, the program generates a sub-array as [22, 6, 9, 12, 2,5]. Then the array is sorted, its average is computed. The sorted output [2, 5, 6, 9, 12,22] and the average= (2+5+6+9+12+22)/6=?? must be printed on the screen for examination. ㄜ...這是我學校要交的作業啦! 當然不可能請各位大大幫我寫這樣太機車了 ... 天底下沒白吃的午餐阿!! 所以....請各位大大來信洽詢...這是有酬勞的喔.... 我要交的東西當然就是程式碼還有把結果印出來就okla 順便開個價吧^__^ 對各位大大來說這應該只是舉手之勞吧?? 多謝樓!! 來信請洽 ptt id vikingss 的信箱 或者qooood@yahoo.com.tw 再次多謝 ^__^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.31.138.49

140.112.244.174 04/18, , 1F
為什麼我很想砍這篇文
140.112.244.174 04/18, 1F

140.112.90.74 04/18, , 2F
四千歐元?
140.112.90.74 04/18, 2F

140.112.30.82 04/18, , 3F
我可以寄給你我寫的assembler 自己寫code~XD
140.112.30.82 04/18, 3F

140.112.30.82 04/18, , 4F
完了完了真的完了....
140.112.30.82 04/18, 4F

140.112.244.175 04/18, , 5F
我還在想說怎麼沒有評價...原來都被噓了 XD
140.112.244.175 04/18, 5F

59.112.213.136 04/18, , 6F
...我只能說你完全走錯地方了
59.112.213.136 04/18, 6F

140.112.246.171 04/18, , 7F
還是會有人給吧
140.112.246.171 04/18, 7F

140.112.246.171 04/18, , 8F
價值不菲
140.112.246.171 04/18, 8F

203.73.233.68 04/19, , 9F
四樓的,小心他發了你就完了 =_=+
203.73.233.68 04/19, 9F

59.104.93.114 04/19, , 10F
這... 無言ing... 連寫作業都可以賣啊~~
59.104.93.114 04/19, 10F

61.230.104.206 04/19, , 11F
我不知道為什麼沒有人推薦這一篇??
61.230.104.206 04/19, 11F

140.112.30.114 04/19, , 12F
巴哈也有人用800 NTD賣出簡易小時鐘啊
140.112.30.114 04/19, 12F

202.178.191.13 04/19, , 13F
家教版也有這篇
202.178.191.13 04/19, 13F

140.112.222.211 04/20, , 14F
="=凸
140.112.222.211 04/20, 14F

140.112.30.116 04/25, , 15F
補個噓 =,=凸
140.112.30.116 04/25, 15F
文章代碼(AID): #12OvCXuI (b92902xxx)