Untitled Document 2
Untitled Document 2
Algortihm:
1. Match the letters in your name with numbers 1-24 alphabetically
2. add the numbers after each letter that it represents
3. Do you want to capitalize any of your letters?
4.If yes {capitalize any letter before an odd number}
5.If No { skip to 6}
6. Numbers after letters add up to 45
7. true --->{ add a comma between a letter and a number}
8. false--->( skip to step 9)
9.Count if alphabet letters x>=5
10.if yes {skip to 10}
11. If no { add a letter from p to s after the number 15}
12.Repeat until alphabets letters x>=5
13.Add $ at the end of your password
14.Put the price of the last thing you bought after
15. Put your age in front of everything
16. Generate password
FLOWCHART (separated into parts so you can see clearer)
You can read this if you zoom in 200% (for the picture down below)
TRACE TABLE: http://www.dailymotion.com/us
Put the price of the last thing you bought after l,12U21O15rq$2.75
START
input domain name
match l in your name with n alphabetically
If (you want to capitalize any l)
{capitalize any letter before an odd n}
Else
{ countinue}
If (n>=45)
{add a comma between l&n}
Else
{ continue}
If (l x>=5)
{continue}
Else
{ add an l from p- s after n 15}
Repeat until (l x>=5)
{add an l from p- s after n 15}
Add $ at the end of p
Put the price of the last thing you bought after
Put your age in front of everything
Generate password
END
FIVE EXAMPLES
Dailymotion 14l,12U21O15rq$2.75
Yesstyle 22j,10o15y25sp$15.34
Dramafever 8K11a1I9qs$1.08
Romwe 19t,20O15m13m13Y25$42.76
Wechat 32r,18y25a1n14ps$63.10