#include #include #include int main() { const n = 30; int a[n], i, sred = 0, usp = 0; srand(time(NULL)); for (i=0; i 2) { usp += 1; } } printf("Uspevaemost': %d%%.", usp*100/n); printf(""); return 0; }