SHARE
TWEET

Untitled

a guest Jan 18th, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program Project5;
  2.  
  3. {$APPTYPE CONSOLE}
  4.  
  5. {$R *.res}
  6.  
  7. uses
  8.   System.SysUtils,System.Character;
  9.   var
  10.   input: String;
  11.   i,z: Integer;
  12. begin
  13.   z:= 0;
  14.   Writeln('Введите последовательность(строку)');
  15.   Readln(input);
  16.   for i:= Low(input) to High(input) do
  17.   begin
  18.    if (IsNumber(input[i])) then Inc(z);
  19.   end;
  20.   Writeln('Кл-во цифр - ', z);
  21.   Readln;
  22. end.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top