Dyskusje Q&A
Sql
0 głosów
4 odpowiedziSQL
0 głosów
5 odpowiedzidouble 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 głosów
3 odpowiedziPopularne dzisiaj
Fix the following code
2 Votes
Mobile number and similarity
0 Votes
GitHub account connecting issue
3 Votes
Coding issue
2 Votes
Hardware of computer
3 Votes
how to creat database?
1 Votes
Alguém Português por aqui?
0 Votes