Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
n = int(input())
-1 Voto
4 Respostasdouble arr[]={5,2,7,8,11,9};
int n = sizeof(arr) / sizeof(arr[0]);
double sum = 0;
for(int i=0;i<n;i++)
{
sum+= arr[i];
}
double avg = sum / n;
cout<< "avarage ="<< avg<< endl;
return 0;
)
/*what does int n= sizeof(arr[]) /sizeof(arr[0]);
do, can someone explain that line for me*/
0 Voto
3 RespostasCan you help me in this code?
-4 Votos
9 RespostasQuente hoje
Can we convert website into app
2 Votes
Jobs
3 Votes
Help! Images! HTML!
0 Votes
I need help with python code
0 Votes