Base for implemented
This commit is contained in:
parent
99f459662a
commit
8215254b41
|
|
@ -77,6 +77,18 @@ pub fn main() {
|
|||
println(sum)
|
||||
|
||||
// ==================================== //
|
||||
|
||||
mut num := 0
|
||||
|
||||
for {
|
||||
num += 2
|
||||
|
||||
if num >= 10 {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(num)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue