diff --git a/module6.c b/module6.c index b75d5ea..35c16d4 100644 --- a/module6.c +++ b/module6.c @@ -1,6 +1,7 @@ -int module6(int a,int b){ +float module6(int a,int b){ if(b==0){ return 0; } else return a/b; -} \ No newline at end of file +} +float x=module6(6,2) \ No newline at end of file diff --git a/module7.c b/module7.c index 22fd410..1e62a16 100644 --- a/module7.c +++ b/module7.c @@ -1,3 +1,4 @@ int module7(int a){ return a+1; -} \ No newline at end of file +} +int x=module(8); \ No newline at end of file