Add multilingual language and systems learning tracks
This commit is contained in:
1 parent
07338189fc
commit
d8d1c40118
844 files changed
+6061
No files matched your search
@@ -0,0 +1,11 @@
|
||||
fn remaining(total int, done int) int {
|
||||
if done >= total { return 0 }
|
||||
return total - done
|
||||
}
|
||||
fn main() {
|
||||
assert remaining(4,1)==3
|
||||
assert remaining(4,4)==0
|
||||
assert remaining(4,5)==0
|
||||
assert remaining(0,0)==0
|
||||
println('Pumasa')
|
||||
}
|
||||
Reference in new issue
Block a user