aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/17_less_eq.sy
blob: c4f8816828c4e185d040ae8d5f1a1ca02467b5fb (plain)
1
2
3
4
5
6
7
8
9
10
int a=5;
int s[10]={0,1,2,3,4,5,6,7,8,9};

int main(){
    int i=0;
    while(s[i]<=a){
        i=i+1;
    }
    return i;
}