Advertisement
maxlarin2

Dayana7

Dec 1st, 2012
3,135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pic 16 0.12 KB | None | 0 0
  1. var
  2. a,b,q:integer;
  3. begin
  4.   readln(A,b);
  5.   while (a>=b) do
  6.   begin
  7.   dec(a,b);
  8.   inc(q);
  9.   end;
  10.   writeln(q);
  11. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement