Nov 27th, 2012
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program schet_prepinaniy;
  2. var c:char; x:integer;
  3. begin
  4.     x:=0;
  5.     repeat
  6.         read(c);
  7.         if (c=',') or (c=';') or (c=':') or (c='.') then
  8.         inc(x)
  9.     until c='.';
  10.     writeLN;
  11.     if (x mod 10=0) or (x mod 10>4) then
  12.         write('V posledovatelnosti ',x,' simvolov')
  13.     else
  14.         write('V posledovatelnosti ',x,' simvola');
  15.     readln;
  16. End.
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.