/ Published in: C
Expand |
Embed | Plain Text
#include <stdio.h> int main() { int min, mp, zp=999, i, m[5]={15,0,-12,0,66}; for (i=0;i<5;i++) for (i=0;i<5;i++) if (m[i]==0) { zp=i; break; } if (zp!=999) else min=m[0]; for (i=0;i<5;i++) { if (min>m[i]) { min=m[i]; mp=i; } } if (zp>mp) else return 0; }
You need to login to post a comment.
