fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int arr[7]={1,2,3,4,5,6,7};
  5. int x=4;
  6. int count=0;
  7. for(int i=0;i<7;i++){
  8. if (arr[i]<=x) continue;
  9. else count+=1;
  10. }
  11. printf("%d",count);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
3