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