... { private String name; private boolean[] taken; private int[] grades ; MyStudent(String n) { name = n; taken = new boolean...
分類:電腦與網際網路 > 程式設計 2012年11月26日
...main(){ int num, b, c; //num為學生人數 float a[50], hig, low , ave; printf("輸入學生人數:"); scanf("%d"...printf("student %d's score is %.1f and the grade is A\n", c, a[b]); else{ if (a...
分類:電腦與網際網路 > 程式設計 2011年04月18日
...的判別是判斷 grade [2]是否為-1 提醒一下,在main裡,cal( grade , size0, sum0, low0); ==> size0, sum0, low0是否要給初始值? 2010...記憶體給這個vector呢?如果有錯,請其他高手指正吧! (3) low 和avg變數的宣告 有沒有可能放在main中,使用參數傳遞的方式...
分類:電腦與網際網路 > 程式設計 2010年06月07日
...m]. grade =REC[n]. grade ; REC[n]. grade =temp_ grade ; } } } //這裡的問題在於同分數者 printf("%s Lower score=%.2lf, No.%d\n",str_LESSON[i],REC...
分類:電腦與網際網路 > 程式設計 2009年08月02日
...now she got me in the zone Tatoo,Tight broach, bump the low ring tone Then the ghetto booty, get the ghetto booty on her Roll...
分類:電腦與網際網路 > 程式設計 2009年07月17日
...quot;,IF(A1="average","中等",IF(A1=" low - grade ","劣",""))) 或 =IF(A1="",""...
分類:電腦與網際網路 > 程式設計 2009年01月14日
...傳回3 平均70-79 傳回2 平均60-69 傳回1 平均不及格 傳回0 qp函式(double陣列 grade , 陣列大小 size) int qualityPoints(double grade [],int size){ double sum=0...
分類:電腦與網際網路 > 程式設計 2008年11月02日
...y]>=60 && x[y]<80) sixty++; else if(x[y]<60) low ++; grade +=x[y]; } cout << "您剛才輸入六位同學...
分類:電腦與網際網路 > 程式設計 2008年07月17日
...的值, v[]是被搜尋的陣列, n是陣列長度 int binsearch(int x, int v[], int n) { int low =0, high=n-1, mid; //低位元為0, 高位元為傳入的陣列大小-1 while ( low <...
分類:電腦與網際網路 > 程式設計 2007年02月09日