Fortune Telling Collection - Free divination - C++ programming code gypsy divination, a divination game!
C++ programming code gypsy divination, a divination game!
#? Including? & ltcstdlib & gt
#? Including? & ltctime & gt
#? Including? & ltiomanip & gt
Use? Namespace? std
int? main(){
Time (empty);
int? n=33,d= 1,e = 0;
Charles? p[ 10 1],str
int? a[ 100];
? while(true){
? cout & lt& lt“* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *”& lt; & lt "Magic Divination"
? Cout & lt& lt "Pick a random number, don't tell him, then subtract the sum of its ten digits and one digit, remember to work out the symbol after this number, don't tell him." & lt& ltendl
?
for(int? I = 0; I< 100; i++){
? a[I]= I+ 1;
}
? n++,d++;
? for(int? k = 1; k & lt 10 1; k++){?
? p[k]=(rand()% 14)+33;
if(k%9==0){
? p[k]= n; }
? }
? for(int? j = 0; j & lt 100; j++){
? cout & lt& lt" " " & lt& ltsetw(4)& lt; & lta[j]& lt; & lt"? "& lt& ltsetw(2)& lt; & ltp[j+ 1];
? if(a[j]% 6 = = 0){ cout & lt; & lt" \ n " " \ n}
? }
? str = n;
Cout & lt& lt" \ n "<& lt" Enter "
CIN & gt; & gtd;
Cout & lt& lt "Do you remember that symbol?" "<& ltstr & lt& lt" "Oh!" & lt& ltendl
Cout & lt& lt "How amazing! Then enter 1, and enter 2: "If you don't play;
CIN & gt; & gte;
cout & lt& lt" \ n " & lt& lt" \ n " & lt& lt”\ n”;
if(e = = 1){ continue; } else { break}
? }
?
}
- Previous article:The meaning and symbol of tortoise
- Next article:What can tarot cards be used for?
- Related articles
- What is the abac idiom 100?
- Who is the author of the Book of Changes?
- According to Tibetan scriptures, ghosts and gods participated. What ghosts and gods did you attend at that time?
- Everyone wants kiku, who is the CP on the screen?
- Do you believe in constellation?
- What are the five elements of turtle?
- Aries male paired with Leo.
- Seeking a 200-word Understanding of Xi Murong's Museum of History
- When will the sausage party ss8 go online?
- How to contact the Red Pine Holy Land and Wong Tai Sin?