2011-12-04 10:33:25 -06:00
|
|
|
fn main () {
|
2012-07-14 00:57:48 -05:00
|
|
|
let mut line = ~"";
|
2012-03-22 10:39:41 -05:00
|
|
|
let mut i = 0;
|
2012-07-14 00:57:48 -05:00
|
|
|
while line != ~"exit" {
|
|
|
|
line = if i == 9 { ~"exit" } else { ~"notexit" };
|
2011-12-04 10:33:25 -06:00
|
|
|
i += 1;
|
2012-05-10 16:06:19 -05:00
|
|
|
}
|
2011-12-04 10:33:25 -06:00
|
|
|
}
|