Commit b6f785f8 by makuks

Delete minvalue.c

parent 5eaa1134
Showing with 0 additions and 29 deletions
#include <stdio.h>
int main(){
int A[10];
int i;
i=0;
while (i<10){
scanf("%d", &A[i]);
i=i+1;
}
int minValue;
minValue=A[0];
i=0;
while (i<10){
if (A[i] < minValue){
minValue = A[i];
}else{
(i=i+1);
}
}
printf ("%d", minValue);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment