Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i =0 ; i < 14; i++)
- {
- if (counter >= mt[0].value)
- mt[0].cpt+=1;
- else if (counter >= mt[14].value)
- mt[14].cpt+=1;
- else if (counter >= mt[i].value && counter >= mt[i + 1].value)
- mt[i].cpt +=1;
- else
- mt[i+1].cpt +=1;
- affiche = mt[i].value * 0.001 ;
- printf("%.2lf %d \n",affiche,mt[i].cpt);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement