Commit 77b89e6f by olpool

soojad saiad2

parent 76e8f4a0
Showing with 2 additions and 2 deletions
...@@ -13,13 +13,13 @@ int main() ...@@ -13,13 +13,13 @@ int main()
scanf("%d", &b); scanf("%d", &b);
summa = arvudesumma(a, b); summa = arvudesumma(a, b);
printf("kahe arvu summa on %d \n", summa); printf("kahe arvu summa on %d \n", summa);
vahetaArvuJarg(a, b); vahetaArvuJarg(&a, &b);
printf(" vahetatud arvud %d ja %d ", a , b); printf(" vahetatud arvud %d ja %d ", a , b);
return 0; return 0;
} }
int arvudesumma( a, b) int arvudesumma( int a,int b)
{ {
int s; int s;
s = a + b; s = a + b;
......
File added
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment