QueenDexii4669 QueenDexii4669
  • 21-08-2019
  • Computers and Technology
contestada

For a loop counter, the appropriate data type would be:

a) int

b) boolean

c) float

d) char

Respuesta :

navarroscar
navarroscar navarroscar
  • 28-08-2019

Answer:

a) int

Explanation:

in a loop the number of the iteration depends on the number of time you have indicated to do. that number in generally given by a variable type int because this kind of variable does not permit decimals part in a number therefore the loop won´t try  anything when the variable takes a float value.

Answer Link

Otras preguntas

Need help with this math problem
A circuit element maintains a constant resistance. If the current through the circuit element is doubled, what is the effect on the power dissipated by the circ
Mike can drive his car 66km on petrol worth Rs.384. How much money does he need to reach his hometown from Delhi by car distance between his hometown from Delhi
If you spend at least $50(including shipping) at an online store, you receive a $10 gift card. You want to purchase CDs that cost $12 each. If shipping costs $5
Use a spelling word to complete the sentence. Mrs. Smith lives in a very large .
Which type of reaction is shown in this energy diagram?
The coordinates of point L on a coordinate grid are (−2, −4). Point L is reflected across the y-axis to obtain point M and across the x-axis to obtain point N.
Which of the following describes the graph shown?
Steve likes to entertain friends at parties with "wire tricks." Suppose he takes a piece of wire 56 inches long and cuts it into two pieces. Steve takes the fir
4x-5(-3) Help plzzzzzz​