c++ arrays | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

c++ arrays

hello world I'm learning c++ just for few weeks and now my teacher taught me arrays the thing is he wants me to code a program which can sort with [Insertion] sorting method im having trouble with it and the code should find the repeated number and write how many times it was repeated! i dont want the answer i just need solution's 🙏

2nd Oct 2021, 5:54 AM
LiL-AiDiN GAMING
LiL-AiDiN GAMING - avatar
3 Answers
+ 2
Oh right, I just thought "I just need solution's" meant that you want a complete code...
2nd Oct 2021, 6:15 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Hey mate, here you could find an algorithm for insertion sort: https://www.google.com/amp/s/www.geeksforgeeks.org/insertion-sort/amp/ If you can't write the required code when you have already been given an algorithm, I recommend going again over the arrays, loops and conditional statements sections in c++ course. This is not a place to ask other people to complete your homework for you. If you want help please post your attempt first.
2nd Oct 2021, 5:59 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
i know i just wanted to know more about it i told in the text that i dont want the answer
2nd Oct 2021, 6:02 AM
LiL-AiDiN GAMING
LiL-AiDiN GAMING - avatar