User Profile
Collapse
-
well for the largest on my original code its largest = nums[0] which seemed fine so you're suggesting i use smallest=0 instead of nums[0]?? -
Finding smallest number from user input(array) ?
Okay, so I am making a program that accepts user input of integers. As you can see I am using an array and i need to get the greatest number, and smallest, range, mean, etc. But I successfully did this for the greatest and figured not much would need to be changed but everything I've tried has given me errors of like -8732113 as the smallest. If needed i can post the code with the greatest included, I took it out so i could just focus on this....
No activity results to display
Show More
Leave a comment: