Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
William Sha
ai01_tp1
Commits
f42aea66
Commit
f42aea66
authored
Nov 22, 2017
by
William Sha
Browse files
Removed lengthInteger function
parent
76272e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
tp3.c
View file @
f42aea66
...
...
@@ -399,10 +399,3 @@ int lengthList (List *list){
return
compteur
;
}
int
lengthInteger
(
int
nb
){
if
(
nb
==
0
)
return
1
;
else
return
floor
(
log10
(
abs
(
nb
)))
+
1
;
}
Write
Preview
Supports
Markdown
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