Hi. I don't know why it this code isn't working. I even tried to copy the format of another code that seemed to work perfectly fine and yet when I try it with mine it doesn't seem to work. Thanks.
Thanks for the answer. I just fixed it, I think. I put the cin and the choosing of the highest and lowest in different for loops. Also, I know this isn't the same question but how will I know where to put cins, cout, etc. to make the program work properly. Again, thanks. :)
*edit: ok it wasn't the cin, was the placing of the initialization of the variables. Is there a guide on how to initialize to make the program work properly? Thanks for the answer(s). :)