Fortune Telling Collection - Free divination - C language master, want to get different algorithms, source code, pseudo code, whatever.
C language master, want to get different algorithms, source code, pseudo code, whatever.
scanf(); \ \ Get the input integer
seed(); \ \ random seed
for(temp = rand(); Temperature %7! = 0; temp = rand());
for(temp 1 = rand(); temp 1%7! = 0; temp 1 = rand());
sum = temp+temp 1;
if(sum = = 7 | | sum = = 1 1)goto Victory;
Elseif (sum = = 2 || sum = = 3 || sum = =12) goto failed;
other
{
Repeat:
for(temp = rand(); Temperature %7! = 0; temp = rand());
for(temp 1 = rand(); temp 1%7! = 0; temp 1 = rand());
if(sum = = temp+temp 1)goto Victory;
Elseif (temp+temp1= = 7) goto failed;
Otherwise go to repeat:
}
- Previous article:Wei Zijia's Star Yao Zhi Wen Qu Xing
- Next article:The person you like is cold to you these days. Will you go to him again? why
- Related articles
- Is the person born on September 6th terrible? Is it terrible?
- What does this tower mean?
- Constellation nebula
- Cancel the signing: the 5th1signing.
- Dream of playing poker with a stranger
- What is the relationship between Park Chanye and Ada?
- What does fortune telling mean?
- What is Chinese studies?
- The tortoise is dead. Good luck arrival. Is there any sign that the turtle at home is dead?
- The first star Gemini Wealth Full Edition