Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
Design a flowchart for a program that will read SALES from each record, print each sales amount, and print the number of record...Asked by ali
Design a flowchart for a program that will read SALES from each record, print each sales amount, and print the number of records read.
Answers
Answered by
oobleck
n=0
while read sales {
n++
print n,sales
}
print n
while read sales {
n++
print n,sales
}
print n