Обсуждения
Cout<< help
0 голосов
3 ответовWhat is meant by cout<<
4 голосов
8 ответовWhat Does cout<< in C++ Do?
0 голосов
4 ответовSomething weird in c++
3 голосов
7 ответовdouble 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 голосов
3 ответовАктуальное сегодня
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Need a friend to study with
0 Votes
I’m new someone can help me
0 Votes
HTML community, HELP!!
0 Votes
I am a super beginner
0 Votes
What's doctype htMl
2 Votes