Dyskusje Q&A
Cout<<
0 głosów
3 odpowiedziCout<< help
0 głosów
3 odpowiedziWhat is meant by cout<<
4 głosów
8 odpowiedziWhat Does cout<< in C++ Do?
0 głosów
4 odpowiedziSomething weird in c++
3 głosów
7 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
How to make a game code
1 Votes
How to add image and audio
1 Votes
What is HelloWorld
1 Votes
About create tuples [Solved]
0 Votes
Headless CMS
1 Votes
Can anyone fix for me this code
1 Votes
Missing]
0 Votes
HTML
0 Votes
Website tips
0 Votes