Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
JACQUET Corentin
compile
Commits
1c3fc7da
Commit
1c3fc7da
authored
6 years ago
by
Justin Noel
Browse files
Options
Download
Email Patches
Plain Diff
Test fonction récursive : ok
parent
b017ce71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
trc/src/generationCode/testComplexe/test_recursif.rs
trc/src/generationCode/testComplexe/test_recursif.rs
+10
-0
No files found.
trc/src/generationCode/testComplexe/test_recursif.rs
0 → 100644
View file @
1c3fc7da
fn
compteur
(
v
:
i32
)
{
if
(
v
>
0
)
{
print
(
v
);
compteur
(
v
-
1
);
}
}
fn
main
()
{
compteur
(
10
);
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment