turbo pacal 既問題:好緊要

2010-01-17 5:44 am
幫我做個Program
output:
Welcome!
Input a number:9
square of 9 is 81
input an integer:4
square of 4 is 16


*9,4係自已打既

回答 (1)

2010-01-17 8:26 am
✔ 最佳答案
program squareRoot;
var
x:integer;
begin
writeln('Welcome!');
repeat
write('Input a number:');
readln(x);
writeln('square of ',x,' is ',x*x);
until x=4;
end.


收錄日期: 2021-05-03 11:52:59
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100116000051KK01547

檢視 Wayback Machine 備份