請建立一個student class
成員有:name(string), math(int), java(int), OS(int)
建構方法
方法有:print(), average()
main 中宣告一個3個student的陣列(用普通C陣列即可)
實作average()方法算 math, java, OS 的平均
利用print方法輸出這3個student的資料(含分數平均)
並依據math, java, OS, average()列出四種排序結果
herrDeng網內搜尋

自訂搜尋
Ads
2016年9月30日 星期五
訂閱:
文章 (Atom)
熱門文章
-
Ex1 加權平均
-
請用Java顯示以下字串:
-
請簡易說明Bitmap, Sleep的使用方式 請參考 https://anwendeng.blogspot.com/2020/03/visual-studio-2019-cwindows-formbitmap.html https://anwendeng.blogsp...
-
C++C py3 log4 prefix sum/bits解Leetcode難題3495 Minimum Operations to Make Array Elements Zero ceil(log4(x)) 可以透過 clz 計算;將 expSum 定義為部分和來計算。 [...
-
Py3 C++排序loop解Leetcode 3025 3027 Find the Number of Ways to Place People [Py3 code請進]