*/
Got something to write about? Check out our Article Builder.
*/

View SAMPLES\SINES.PAS

Portable ISO Standard Pascal in C, version 3.8

Submitted By: WEBMASTER
Rating: starstarstarstar (Rate It)


(*$c+*)
program sines;
var i, j, k : real;
begin
 i := 0.0;
 while i < 10.0 do
  begin
   k := sin(i) + 1.1;
   j := 0.0;
   while j < k do
    begin write('x'); j := j + 0.1 end;
   writeln;
   i := i + 0.35
  end
end.

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.