functions.cpp
Go to the documentation of this file.
1 #include "functions.h"
2 
3 int fatorial(int v)
4 {
5  return (v == 1) ? 1 : v * fatorial(v - 1);
6 }
int fatorial(int v)
Definition: functions.cpp:3