Yukonヌ
Get another writeline on second itteration
I decided to not have books removed, I added a method instead for IsRented: https://hatebin.com/fskenomquh
257 replies
Get another writeline on second itteration
but if it goes outside of the loop i cant check the index? or am i wrong? you mean something like this, https://hatebin.com/bhadwluksr ?
257 replies
Get another writeline on second itteration
Iv compared the rentBook if its equal to the book[i].Id, this is what you meant right? To compare so that the user input equals one of the ID's. I dont know why its so hard, but its confusing the hell out of me, since accessing the property in an object is something iv never done before. https://hatebin.com/uiwkztdcdh
257 replies
Get another writeline on second itteration
https://hatebin.com/hksgpejcom not getting it to work at all now
257 replies
Get another writeline on second itteration
Hi gotta quick question regarding list and count. Im working on building a library and being able to rent books, this is just a snippet of what im having a issue with right now. I want the book.Count to update when someone rents a book, so the books gets removed and the remaining books are orderd from 1 to book.Count, what am i doing wrong here?
257 replies
I have a list of students and their grades that I want to sort based on grades
I managed to do it with numbers as grades, but I dont know how to do the algorithm to compare strings, as in F-A grades. https://hatebin.com/qjtkqhzcmw
12 replies
I have a list of students and their grades that I want to sort based on grades
Its a small homework before our last assignment in web development, it says to use a sorting algorithm like bubble or selection sort, so il try and implement bubble sort, iv used it before but not sure how to go about it here. making sure all A+ comes first and F last and everything in between.
12 replies