72.6k views
0 votes
For a loop counter, the appropriate data type would be:

a) int

b) boolean

c) float

d) char

User Ade YU
by
5.3k points

1 Answer

3 votes

Answer:a) int

Explanation: Loop counter is the kind of program that has the major function of counting the start value to the destination value in the form of integer.The integer is used for counting the values in a particular loop is known as the loop control variable.Therefore the accurate datatype for the loop counter to count the values should be of int type.

User Darkgaze
by
6.0k points