發新話題
打印

[詢問] Pascal 問題(急~識呢d的快d救我~~~)

Pascal 問題(急~識呢d的快d救我~~~)

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占 您是第1652個瀏覽者
我想有人可以同我解下呢d野其實叫我做咩?可唔可以同我解埋步驟?因為我係啱啱學的,面對老師的問題我一頭霧水。

1.Write a Pascal program that will read in two integers and then output their sum, difference and product.

2.Write a Pascal program that will convert a number of seconds to the equivalent number of minutes and seconds. Use the MOD and DIV operators.

3.A Celsius (Centigrade) temperature C can be converted to an equivalent Fahrenheit temperature F according to the following formula: F = (9/5) C + 32.

4.Find the value of each of the following expression or explain why it is not a valid expression:
a)2 div 3 + 3 / 3
b)9 / 2 div 5
c)7 mod 5 mod 3
d)12 / 2 * 3
e)(12 + 3 div 2) / (8 – 5 + 1)
f)sqr(sqr(-16))
5.Write Pascal expressions to compute the following:
a)5A – 6BC + 9
b)The square root of a2 + 2b
c)|A / (mn + q)|

6.What is the difference between the following identifier?
a)NUMBER number NumBer _number
b)temp1 Temp_1 Temp1 temp.1

7.Write Pascal statements for the following tasks:

a)Ask the user to enter his height in centimeters (cm) and display it in meter (m) round in 2 decimal places.

b)Display the sum of the ordinal for character in the string “HaHa”.

仲有咩叫mod同div?
有咩website啱我呢d新手睇呢?
咩軟件啱用來寫Pascal呢?
我阿sir就教我用qp....咩來架?點用呢?

一次個答哂係好難....因為我真係唔知點寫.....又睇唔明...希望你地可以答我...thx!!!!
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 小蟬一隻 第 2 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
編寫程式的一種語言....
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 小蟬一隻 第 4 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
現在我已經一頭霧水啦...
等人救我...
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 leungmon 第 6 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
MONMON...
可唔可以幫我搵下關於PASCAL 程式語言入門的網站??
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 leungmon 第 9 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
有冇其他?
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 向晴 第 11 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
沒人幫到我嗎??
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 vincy100 第 14 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
嗯嗯嗯......對呀~
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 羽翼~ 第 15 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
幸好我看過MONMON給我的網站
明白了
但班上的同學仍不懂...
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

回應 leungmon 第 18 篇文章

本文來自:☆夜玥論壇קhttp://ds-hk.net★ 轉帖請註明出處! 發貼者:迷.占
真的要感謝你呢~
所謂人生就是很可笑的東西 就像膽顫心驚的走著鋼索

TOP

發新話題

當前時區 GMT+8, 現在時間是 2024-5-23 05:40

Powered by Discuz! 6.0.0Licensed © 2001-2014 Comsenz Inc.
頁面執行時間 0.039422 秒, 數據庫查詢 9 次, Gzip 啟用
清除 Cookies - 聯繫我們 - ☆夜玥論壇ק - Archiver - WAP
論壇聲明
本站提供網上自由討論之用,所有個人言論並不代表本站立場,並與本站無關,本站不會對其內容負上任何責任。
假若內容有涉及侵權,請立即聯絡我們,我們將立刻從網站上刪除,並向所有持版權者致最深切的歉意。