I have been reading the forum for a while, but I couldn't find anything that could help to figure out my current assignment. Its a very simple program, but somehow just doesn't work for me. I'm a beginner and I hope that somebody can explain what am I doing wrong.
The program should as the user how many values she would like to enter (max 50). Then the program should ask to enter the values.
These values should be stored in double array and then printed out in descending order, using bubble sort.
I have got this code so far... Please advise if you can on what can I do to make it work.
I can only use very basic codding as well..
Thank you, I fixed the input and it seems to be working fine now! :)
Can you please advise if there is anything that needs to be changed in the code, as the requirement in assignment was 50 values max that can be entered? Or nums[50] is enough for that?