Creato il primo esercizio

This commit is contained in:
2014-03-09 18:43:22 +01:00
commit ad2d083824
10 changed files with 55 additions and 0 deletions

11
1_funzioni/funzioni2.c Normal file
View File

@@ -0,0 +1,11 @@
#include "funzioni.h"
int potenza (int x, int y){
int tot = x;
for (int i = 1;i<y;i++){
tot= tot * x;
}
return tot;
}