182k views
2 votes
For which programming task would you use a for loop?

A. Computing the average of a list of integers of unknown length
B. Counting the vowels in a document of unknown length
C. Generating a list of the anagrams in a word Printing a specified number of integers in a list
D. Printing a specified number of integers in a list

1 Answer

4 votes

Answer:

A. Computing the average of a list of integers of unknown length

User Szuniverse
by
6.8k points