F&A Diskussionen
Cout<<
0 Stimmen
3 AntwortenCout<< help
0 Stimmen
3 AntwortenWhat is meant by cout<<
4 Stimmen
8 AntwortenWhat Does cout<< in C++ Do?
0 Stimmen
4 AntwortenSomething weird in c++
3 Stimmen
7 Antwortendouble 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 Stimmen
3 AntwortenHeute heiß
Saturn League badge
2 Votes
Sololearn keeps crashing
1 Votes
Lua course?
2 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
CSS
1 Votes
Not able to activate account
0 Votes
About Advanced Courses
0 Votes