Someone help me get 5 number and say wich one is max and wich one is min =| | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Someone help me get 5 number and say wich one is max and wich one is min =|

27th Oct 2017, 12:28 AM
Ashoob
Ashoob - avatar
2 Answers
+ 1
Well, now I can't develop the code. But the idea is: You need to have 2 variables, one to the min and another to max, and at the first for execution, the min and max variable will get that value. And at the next for's execution you need to check that values and compare with your variables values.
27th Oct 2017, 12:42 AM
Luiz Augusto Ventura
Luiz Augusto Ventura - avatar
+ 1
tnx❤❤❤
27th Oct 2017, 12:44 AM
Ashoob
Ashoob - avatar