Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

给个PASCAL的AC程序

Posted by tyc3149 at 2008-07-20 09:41:57 on Problem 1004
Program Pku_1004;
Var s , m : Double;
q  : Integer;
 
Begin
s := 0.0;q := 0;
While q < 12 Do
  Begin
    Readln(m);
    s := s + m;
    q := q + 1;
  End;
s := s / 12;
Writeln('$',s:0:2);
readln
end.           

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator