daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 37 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var
  2.   a: array [1..10] of integer;
  3.   n: integer;
  4.  
  5. begin
  6.   //Чтение элементов
  7.   read(n);
  8.    
  9.   // Обработка
  10.    for var i := 1 to n do
  11.      a[i] := 2*i-1;
  12.  
  13.   //Вывод элементов
  14.   for var i := 1 to n do
  15.     write(a[i], ' ');
  16. 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