Обсуждения
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 ответовАктуальное сегодня
Javascript
3 Votes
Fitting
0 Votes
Why text takes time to load
1 Votes
Digital currency
1 Votes