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

a) int

b) boolean

c) float

d) char

asked
User Ade YU
by
8.2k 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.

answered
User Darkgaze
by
8.7k points