Sum negative values and replace them in a 15-element array in Pascal

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
siahed1
Messages
1
Reaction score
0

Homework Statement



In one-range array of integers calculate the sum of all all negative values and replace these negatives with calculated sum. Length of array - 15 elements. Program must read all elements of array from keyboard.

Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org