Pagini recente » oni2011-scdtry | Cod sursa (job #1851600) | Cod sursa (job #2732125) | Cod sursa (job #617094) | Cod sursa (job #2229215)
#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
int main() {
int id=0;
while(1) {
int a=rand()%1000+500;
int b=rand()%1000+500;
int cnt=0;
for(int i=1;i<=25;i++) {
int x=rand()%4;
if(x==0) {
if(cnt%2==0) {
cout<<"Muie PSD\n";
}
else {
cout<<"Sugi Pula Dragnea\n";
}
cnt++;
}
else {
cout<<"\n";
}
}
if(id%5==0) system("color A3");
if(id%5==1) system("color B5");
if(id%5==2) system("color 7C");
if(id%5==3) system("color DE");
if(id%5==4) system("color F1");
id++;
Beep(a,b);
system("cls");
}
return 0;
}
/**
**/