169,726 views
20 votes
20 votes
For which programming task would you use a while loop?

A) Computing the average of a list of 30 integers

B) Copying the contents of one list of 500 characters to another list

C) Drawing a circle with a specific radius

D) waiting for a keyboard key to be pressed

User Ahesh Lakmal
by
2.4k points

1 Answer

14 votes
14 votes

Answer:

D

Step-by-step explanation:

User Sloik
by
2.5k points