F&A Diskussionen
need code break down explaination
0 Stimmen
2 AntwortenGENERIC CLASSES i want your help
-3 Stimmen
1 Antwortdouble 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ß
GUI-Based Python code in Webpage
3 Votes
Convert Animated SVG to PNG
1 Votes
My Missing Courses
1 Votes
Are '\0' and NULL the same?
1 Votes
Number addition
0 Votes
cyber security
0 Votes