const arr = [14, 58, 20, 77, 66, 82, 42, 67, 42, 4]
const min = arr.reduce((a, b) => Math.min(a, b))
console.log(min)
const arr = [1,2,3,4,5]
console.log(Math.min(...arr)) // 1
int n;
printf("Enter value: ");
scanf("%d",&n);
for(int i=0; i<100; i++){
if(items[i]<n)
printf("%d
", items[i]);
}