# Napishite the program which calculates the sums of elements of the A[1:50] array filled with numbers 1,3,5,7,9

Roman

400

Var A: array [1. 50] of integer; i, S: integer; Begin Write (Initial massif:); For i: = 1 to 50 do Begin A[i]: = 2*i-1; Write (A[i]); S: = [S+Ai]; End; WriteLn (S =, S) End.

310

Answer add
yanko

### Other questions in the section - informatics

Askold

Task 1. Filling of the massif from a to bdan the massif from 30

2020-10-26 10:00:32

Bralanim

Find all natural numbers which are not exceeding the set number N, kotoryedelitsya without

2020-10-26 10:00:32

Androdora

Please count PLEASE! IN the PASKALYaSostavte LANGUAGE "We found the program which on k

2020-10-26 10:00:32

Doridred

to define whether belongs three numbers to the piece set from the keyboard are

2020-10-26 10:00:32

Shaligamand