(Heed help ) It's a c program that fine for the maximum and minimum value in a range of values depending on the user input ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

(Heed help ) It's a c program that fine for the maximum and minimum value in a range of values depending on the user input ???

here i wanted that the user be able to choose the number of value he needed to comper and see the maximum and minimum value not me giving him a limite in his in put value, so i wish that my user should be in control of his own input https://code.sololearn.com/cu3c5AvVRkiB/?ref=app https://code.sololearn.com/cu3c5AvVRkiB/?ref=app

26th Feb 2020, 7:04 PM
soulemanou kunchiefuh babanou
soulemanou kunchiefuh babanou - avatar
1 Answer
+ 3
Remove semicolon at the end of the line #9. You put an extra semicolon after the for-loop in the line#9. The for loop do nothing, so your array contains garbage values.
26th Feb 2020, 7:22 PM
andriy kan
andriy kan - avatar