Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  *.PAS
Language: C/C++
Code:
Program hetteloszthato;
VAR a:integer;
    s:real;
BEGIN
 s:=0;
 a:=7;
 while a<=1000 do begin
  s:=s+a
  a:=a+7
 End;
 writeln(s:0:0);
 writeln('Nyomj egy ENTER-t');
Readln;
END.

     
Comments: