阿摩線上測驗
登入
首頁
>
轉學考-程式語言
>
102年 - 102 淡江大學 轉學考 程式語言#53079
>
題組內容
3. Suppose x,y and z are integer variables. If x = 10, y = 20,what value is assigned to ea of these variables after the statement executes? Print out the result of x, v and z. (15°/<
(c) z = 2 * (x++)
其他申論題
(d) 28 - 5 / 2.0
#193151
(e) 30 / (int)(6 * 1.2)
#193152
(a) z = (++x) + (y++);
#193153
(b) z = (x--) + y(--);
#193154
(d) z = 10 + (x++);
#193156
(e) z = 10 + (x++);
#193157
4. The follow formula converts a temperature in Fahrenheit(F) to it/wmivalent Celsius(C): C = 5/9(F-32) Write a code for this formula C. (5%)
#193158
【已刪除】5. What are the outputs of the following programs? (10%)
#193159
【已刪除】 (a)
#193160
【已刪除】(b)
#193161