Hi forum I have problem with bubble sort Im generate random float numbers to array but after sorting of bubble sort most numbers change fractional part
but i need same numbers like after sorting.Anyone who can help me please ?
That's where you're making a blooper.
Hint: C++ is a strongly typed language. ( Also float is more or less defunct except for legacy code I'm told, but that in itself isn't the immediate problem. )