Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1987

Strings in C

$
0
0
Hi.

I need to check how many numbers in strings of 16 numbers is less than for an example 6.

I only need a main rutine..
Below is my part of code but doesnt work

Code:
byte a[16]={3,22,31,9,11,6,7,8,23,17,10,30,73,40,55,93};
 byte b[16]={11,14,7,13,17,19,97,2,12,128,1,124,123,122,33,21};
  byte c[16]={9,15,4,13,2,49,57,3,74,47,39,59,112,100,91,6};
   byte d4[16]={33,58,68,66,21,19,97,3,1,2,5,12,27,9,15,11};


for (i=0;i<16;i++){
                           if(a[i]<6)...
Strings in C

Viewing all articles
Browse latest Browse all 1987

Trending Articles