Hey,

so I'm trying to make a program that sorts user inputted "pancake sizes" and then outputs the result after a selection sort.

My problem is that with an input of 12.3, 14.2, 15.2 etc(doubles) the program won't work, and I have no idea what to do for the parameters to make it work.

I included a working copy that works for integer values, but I've been trying all the int and double combinations and the compiler won't work

Thanks

Worked ok for me. Post the code you tried and a few of the compiler errors.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.