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ß
How to allow one instance of exe
1 Votes
purchase of a subscription
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
What should I add/improve ?
1 Votes