Design a program that asks the user to enter a store's sales for each day of the week. The amounts should be stored in an one dimensional array. use loop to calculate the total sales for the week and display the results. (In Pseudocode)

1 answer

days = ("Sunday",...,"Saturday")

total=0
for i=1..7
display days[i]
read amt[i]
total += amt[i]
end for

for i=1..7
display days[i],amt[i]
end for

display "TOTAL:",total