" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
int main()
{
int i=0;
int suma=0;
int ocena;
while(i<10)
{
cin>>ocena;
suma+=ocena;
i++;
}
double srednia=suma/10.0;
if(srednia>4.75)
{
cout<<"PASEK"<<endl;
}
else
{
cout<<"BRAK PASKA"<<endl;
}
return 0;
}