Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
# include <iostream >
using namespace std ;
int main (){
double a [10] = {12.6 ,33.77 ,51.32 ,95.11 ,19.78 ,
35.34 ,85.18 ,89.0 ,37.5 ,24.1};
double sum , quad ;
double n;
// *************************************
for (n=0; n<=10; n++);
{
sum += a[n]/n;
}
// *************************************
cout << " Gewichtete Summe : " << sum << endl ;
cout << " Quadrat des quadratisches Mittel : ";
cout << quad << endl ;
getchar();
return 0;
}
int n;
for (n=1; n<=10; n++)
{
sum += a[n-1]/n;
}