brintos

brintos / llvm-project-archived public Read only

0
0
Text · 194 B · bc3ecee Raw
22 lines · c
1#include <stdio.h>2 3foo (int a, int b)4{5    int c;6    if (a<=b)7        c=b-a;8    else9        c=b+a;10    return c;11}12 13int main()14{15    int a=7, b=8, c;16    17    c = foo(a, b);18 19return 0;20}21 22