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