summaryrefslogtreecommitdiff
path: root/3/6_control/24_while_loop.c
blob: a3367fc69998e4159d18f87ebf79556c682a02ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// while (test)
//   body
//
//  goto test;
//  loop:
//      body;
//  test:
//      t = test;
//      if (t)
//          goto loop;

short loop_while(short a, short b)
{
    short result = ;
    while () {
        result = ;
        a = ;
    }
    return result;
}

int main(void) {
    return 0;
}