大家看看:
Program division;
uses crt;
var a, b , c : real;
begin
clrscr;
write('Input Num 1 :');
readln(a);
writeln('Input Num 2 :');
readln(b);
c := a/b;
writeln('The quotient of ',a,' and ',b,' is ',c,'.');
writeln('The quotient of ',a:0:0,' and ',b:0:0,' is ',a*b:0:2,'.');
readln;
end.
我想問問: a*b:0:2個0字點解? 後個2字我就識解,解小數點後的位,請盡快回答我個0字點解。