Q&A Discussões
Cout<<
0 Voto
3 RespostasCout<< help
0 Voto
3 RespostasWhat is meant by cout<<
4 Votos
8 RespostasSomething weird in c++
3 Votos
7 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 RespostasQuente hoje
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
Help me
1 Votes
how do they use javascript
0 Votes