Latest Posts:

while do loop in pascal programming .







A while statement  is utilized to execute a statement  as long as a specific condition holds
A while-do circle statement in Pascal permits dreary calculations till some test condition is fulfilled. As it were,
it over and again executes an objective articulation as long as a given condition is valid.




while do loop in Pascal programming.a program to loop multiple of  5 to 50



program whileLoop;
var
   a: integer;

begin
   a := 5;
   while  a <50  do

   begin
      writeln('value of a: ', a);
      a := a + 5;
   end;
   readln;
end.


Share on Google Plus

About Lucky Ibitubo

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Powered by Blogger.