Good morning and welcome to the forum
Hi and welcome to the forum
The pleasure is all mine.
Hi and welcome to the forum G.P.K.Kishore
Try using the loop inside a loop to print * and spaces and that should do it.
You don't need to be using gotoxy for this.
Because your printf statement is outside of the loop as you have no curly braces and so only the nest statement is what is considered as looping...
Don't comment on wrongly on things you are not sure of.
Try using the logic of bubble sort on paper first and then try the same with the program.
Go through the book and try to get your hands on C++ programming and for all your queries use the forum and expert will be more than happy to help.
Duplicate of http://www.cfanatic.com/topic4199/ Thread closed.
Duplicate of http://www.cfanatic.com/topic4192/ Thread closed.
Not sure why you have posted this in C Programming Forum
Separate names with a comma.