Procura

Algoritmos e estrutura de dadosEstrutura de controle e repetição


EXERCÍCIOS - Exercício 48

  • (INSTITUTO AOCP 2020)

A MJSP system analyst needs coding a ‘for’ statement that varies the control variable from 7 to 77 in increments of 7. Choose the right sentence concerned that ‘for’ statement.


A) for (int i = 0; i <= 77; i += 7)

B) for (int i = 7; i <= 77; i += 7)

C) for (int i = 1; i == 77; i + 7)

D) for (int i = 0; i <= 77; i++)

E) for (int i = 7; i >= 0; i++)


Próximo:
EXERCÍCIOS - Exercício 49

Vamos para o Anterior: Exercício 47

Tente Este: Exercício 31

Primeiro: Exercício 1

VOLTAR ao índice: Algoritmos e estrutura de dados






Cadastre-se e ganhe o primeiro capítulo do livro.
+
((ts_substr_ig=0.00ms))((ts_substr_id=1.67ms))((ts_substr_m2=0.00ms))((ts_substr_p2=0.55ms))((ts_substr_c=0.61ms))((ts_substr_im=0.93ms))
((total= 4ms))