Răspuns :

Răspuns:

float n,c,d,s;

c = 15;

s = 15;

d = 0;

while(c!=0){

cin >> n;

d = d+ n;

c--;

}

float o = d/s;

cout << "Metri " << " " << o;

cout << endl;

cout << "Cm " << " " << o * 100;

float gs=  o * 39.3701;

cout << endl;

cout << "inchi " << " " << gs;

Explicație: