Download the Guru IA app

Android and iOS

Foto de perfil

Karina

SENT BY THE APP
Estudos Gerais09/13/2024

Considere o trecho abaixo do código fonte de um projeto em J...

Considere o trecho abaixo do código fonte de um projeto em Java:

public class Vetor_01 { public static void main(String[] args) { int[] V = {3,12,45,46,9}; int s=0; for(int i=1;i<6;i++){ s = s + V[i]; } System.out.println(s); } }

Considere o trecho abaixo do código fonte de um projeto em Java:

public class Vetor_01 {
    public static void main(String[] args) {
        int[] V = {3,12,45,46,9};
        int s=0;
        for(int i=1;i<6;i++){
            s = s + V[i];
        }
        System.out.println(s);
    }
}
Send your questions through the App
Google Play
App Store
Equipe Meu Guru

Do you prefer an expert tutor to solve your activity?

  • Receive your completed work by the deadline
  • Chat with the tutor.
  • 7-day error guarantee