Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by Basico ( 15 years ago )
#include <cstdlib.h>
#include <iostream.h>
using namespace std;
int main (int argc, char const *argv[])
{
int ind, vet[10];
float soma = 0;
float media = 0;
while (ind<=9)
{
cin>>vet[ind];
soma=soma+vet[ind];
}
media=soma/10;
while (ind<=9)
{
if(vet[ind]>media)
{
cout<<vet[ind]<<andl;
}
}
system("PAUSE");
return EXIT_SUCCESS;
}
Revise this Paste
Children: 33635