1
Les questions sont dans les commentaires du code:GNU BC: fonctions, si les clauses et les retours-
define f(x) {
print x^2
}
define g(x) {
print x+2
}
if(f(2)>g(1)) {
print "it works"
}
43 # Why 43 instead of the text "it works"?
a=f(2)
b=g(1)
if(a>b) {
print "it works"
}
# Why nothing?
+1 résolu, Je vous remercie. –