Название | : | CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners) |
Продолжительность | : | 15.00 |
Дата публикации | : | |
Просмотров | : | 69 rb |
|
I love this explanation This is clear and concise Comment from : Music Books |
|
Bro! You're amazing, please keep up with your work and upload more videos Thank you so much, you're a lifesaver Comment from : Yoma Hosam Khadam |
|
THANK YOU! Comment from : Relyt |
|
please do a walkthrough for the credit problem Comment from : Luke Cullison |
|
My code checks come back green and I implemented this without while loops, but I am confused about the assignment instructions: brbr"If cents is 85, for example, calculate_dimes should return 8" brbrMy code returns 4, because it counts Quarters x 3 and Dimes x 1 I am afraid I made a mistake as it does not evaluate like thisbrOther values come back fine, Is this still normal? :D Comment from : Troy Hackney |
|
thank you so much Comment from : YuliAShares |
|
gracias por tu video amorbrme salvaste mucho tiempo Comment from : Samuel Tirado |
|
Good thank you very much😊 Comment from : Elinam Dora Ashley |
|
thank you very much sir Comment from : Eze Onyemaechi |
|
I did every thing with do while loop After seeing the vid my code was much cleaner It's always a challenge when I have to do everything on my own from scratch on my installed version of vs code with no direction so you make things a lot easier blud! Comment from : jarvis_kjellberg |
|
Thanks❤ Comment from : نواف الدوسري |
|
dude i cannot believe you only have 12,000 subs man you should be in the millions you are an excellent teacher your voice is hypnotic thanks man Comment from : Thebass |
|
I am concerned that 64k of lads were searching for the solution Comment from : k |
|
W video Comment from : berk |
|
You are a scholar and a saint Comment from : Dylan Buglewicz |
|
I did it so much simpler by just having each step divide and return how many times it goes into the number Comment from : Jake Kayden |
|
Following this but getting errorbrError resolved hurray Comment from : Ruchira Joshi |
|
Please keep sharing these problem solutions 🙏🙏🙏❤️❤️❣️ Comment from : Liam |
|
I got recommended this when my period is a day (probs more) late 💀 Comment from : “Mia” S |
|
Thank you for this amazing video Just subscribed to your channelbrI wanna know if you can also use a for loop in place of the while loop in this pset1 Comment from : King David |
|
THANKYOU SO MUCH Comment from : Shambhvi Lokre |
|
Thank for the code but I don't know the main cash is not getting updated after subtracting it with 25 or 10 brbrIe brbrIf I input the 60 it will give out put of 2 quarters and 6 dimes actually it should give 2 quarter 1 dime brI don't know after subtracting the value in function it is not updating the input that we have given brThanks brJesus loves you Comment from : TechMax |
|
please please please make video on credit pset1 as well please soon please Comment from : Hassan Yousafi |
|
Thanks man I solved it , before I wacthed this video and your explanations are awesome! Comment from : Kubat Aiupov |
|
you are the best man, keep us going Comment from : EPIC |
|
I actually got this to work on the first try, just using some common sense, but I still don't understand how it all works I think it's because I'm not used to the code being so separated lol, but I'm hoping you explain the steps of what is happening in this videobrbrEdit: Okay, 3 minutes in and you completely made me understand what was happening Thank you Comment from : Icarus |
|
Thank you!! Comment from : Diana Zaguralska |
|
Always detailed in why you are doing what you are doing Coming from a beginner, thank you for the clarification Comment from : Dustin Lee |
|
Is it just me or did the difficulty spike at this assignment? I have no prior coding experience and made it through mario without help but this one has overwhelmed me Comment from : Alexander |
|
okaybrthere you gobr1 subscriber for youbrthe material is absolutely beyond wordbrkeep doing this great contentbrthank you Comment from : Ravenheart |
|
Why "return quarters" at the end of the "calculate quarters" function? Can someone please respond? Thanks! Comment from : julio César |
|
tysm Comment from : Grtishere |
|
If we werent forced to use their functions itd be easier Comment from : dan2017gs |
|
thank you bro from my heart Comment from : Omar Alzaidi |
|
Bro thank you for existing! I'm always 1 easy step away but cant figure it out You help so much! Comment from : INSIDE ANDY |
|
Thanks so much for always going through these like my brain is the size of a raisin 😂😍 Comment from : Malu Lopes |
|
Thanks bro, this really helped clear up what exactly the functions are doing Comment from : Kyland719 |
|
my output comes to 0 after writing /cash pls tell tried many times and code is also right Comment from : Peppy Sarthak |
|
Hey Rahul, you are the best! Thank you very much Comment from : Beatriz Sobczynski |
|
You are a wizard! Thanks for the help! Comment from : Ken Takahashi |
|
You are a rockstar! Comment from : Roelof Willems |
|
thx bro brthe definition of the real teacher should be u!!! Comment from : El-Sayed El-Senosy |
|
you actually dont need loop for every operator for example for quarters just divide the cents by 25 and make sure it is an int Comment from : kevin_harambe |
|
Thanks for great explanation of the task I'm able to do code myself, but can`t catch task idea Comment from : V |
|
tks man Comment from : Reinaldo |
|
you are the best Comment from : eq104ee rly |
|
Hmm, I was just wandering, I'm pretty bad at answering the Cs50 assignment, and am actually wandering if it's okay to search for hints and help for Cs50 stuff I am open to advice from those whose done cs50 before, thanks! Oh and, great explanation man! Comment from : Kristania Gunawan |
|
Thank you so much Completely new to all of this and you just explain things so well! Comment from : Aaron |
|
Everytime i type /cash “0” pops up Comment from : Unlimited Hoops |
|
Very well explained! br😇 Comment from : Zixin Zhang |
|
Thank you my brother Comment from : Luiz Aquino |
|
I don't think they even mention RETURN in the first lecture or the notes; I can't believe how unnecessarily frustrating this course is turning out to be Comment from : The Nathanimal |
|
You are a saint Comment from : CJ Banks |
|
I keep coming on here confused on small things for the program, and I want to truly grasp the program and what is happening within it before I send it in, and your videos help me to have that "oh my god I get it" moments over and over again Thanks! Comment from : Alex |
|
bro if youve never taken CS before this is literally impossible to figure out alone lol Comment from : gianmarco imperioli |
|
This video was great You should really make more of them Comment from : Nicholas James Winfrey |
|
Thank you so much you walk us through the problem AND give such good explanations so we UNDERSTAND the concepts Keep up the good work Comment from : Jacob De La Torre |
|
For each function you can simply divide cents by the correct value of that coin For example in the function for quarters just type " return cents / 25; " Since we are working with integers the result of the division will be the amount of quarters you will needbrbrIt should look like this:brbrint calculate_quarters(int cents)
br{
br return cents / 25;
br} Comment from : Leandro Quaroni |
|
hey rahul, by any chance do you have any social media? Comment from : Quirk |
|
Thank God you exist! Comment from : Ca Wai |
|
Thank you so so much for explaining along the way I could "do it" with any walkthrough but would not understand it as much as I did with your explanation This is not only a tutorial, but a second chance for me to get my dream work Cheers from Portugal <3 Comment from : Diogo Duarte |
|
thank you so much man really!! from the whole community Comment from : Mr Woodz64 |
|
Thank You, thank you your explanation and walkthrough helped me understand better how to call functions, I was so confused before starting the problem, you are a gentleman and a scholar, we are all in this together and some have better skills and grasp; Thank you again for carrying a brother through Comment from : ActionReplay |
|
This is a very good and detailed walkthrough that i am honestly greatful forbrBut since i didn't figure such simple problem out myself i feel stupid and i just want to die Comment from : Николай Фисенко |
|
thank you kept thinkng it was a remainder situation Im sure theres logic that can make that work but it was not working with my basic logic and C understanding Comment from : Power Clean |
|
I tried to do this myself first time but I thought the output had to specify WHAT coins haha overcomplicating it bface palm/b -- thanks so much for explaining it clearly Comment from : Finding Elsie |
|
sorry, how can i open cs50 problem set,i just see "when t do it " Comment from : hen ken |
|
Thank you so much! You are helping so many people here! Comment from : FR Health&Fitness |
|
mans is amazing Comment from : toshinova |
|
Thanks a lot dude I actually figured it out just by watching the first 2 minuets of the video : )) Comment from : Samson Amanuel |
|
can someone explain to me why the 'for' loop doesn't work as desired here like it did in mario? are there just to many variables to plug in? Comment from : adrenaline omertà |
|
keep bro ♥♥♥♥♥♥♥♥♥♥♥♥♥♥ Comment from : Sief Khaled |
|
Hey I'm getting this error brbr:( get_cents rejects a non-numeric input of "foo"
br expected program to reject input, but it did not Comment from : ROHIT KUMAR |
|
But it did not rejecting non-numeric value, what about that?????? Comment from : ROHIT KUMAR |
|
thanks a small word for your work 🔥 Comment from : الطيب عثمان |
|
Mine worked simply by making the return values for each of the calculation functions equal to cents / the amount of cents that the particular coin was worth For example, to calculate quarters is: return cents / 25; This worked for me and it takes a lot less code to accomplish Comment from : Hefferdoodles |
|
If you could plz make a video how to submit starting from scratch bcz submission iz a big deal Comment from : muhib op |
|
Works well!! DANKEEE Comment from : s jxy |
|
thank you bro op Comment from : Rajat Sharma |
|
Thank you so much It is THE BEST VIDEO out there
br
brI have only one question
br
brWhat's the purpose/use of "return quarters/dimes/nickles/pennies"?
br
brI know they return something, but how do they do it?
brIn the 2021 version I did it without "return" and it worked
br
brSo, I feel like "return" is redundant, but I am probably wrong
br
brCould you help me please? 😊😊😊😊😊😊 Comment from : Aleksa Zlatkovic |
|
Thanks Comment from : Lex |
|
Couldn't we just use integer division for each monetary value of the specific coin and get the same result? I know in the course we touched on while loops, but I think they are redundant here Comment from : TheInfiniteSense |
|
Your explanation is very clear and easy to follow, thank you so much Looking forward to the credit problem set walkthrough Keep up the good work! Comment from : Ago |
|
i have the code similarly set to yours but when i try to run it and enter in the amount of change owed the terminal window dosen't give me back the the coins owed instead the $ sign goes away and it wont let me perform any functions like ls or cd Not sure what's happening there Comment from : Curry Price |
|
thanks man you really made it so easy Comment from : Abdalla Alhaedre |
|
I did something a little different, I used a for loop instead of a while loop and it still worked out for me but I want to hear from someone which would be better style wise Comment from : Rudy Hernandez |
|
Thank you for explaining! I don't think I could've figured it out on my own Keep up the good work! Comment from : Cristiana Vaculovschi |
![]() |
CS50 Cash Solution 2023. Beginners Guide for completing CS50 Week 1 Problem set 1 - Cash. РѕС‚ : Devin Finley Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Mario Week 1 Solution 2023. Step by Step for completing Problem set 1 - Mario for Beginners. РѕС‚ : Devin Finley Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Problem Set 1 - Cash Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Problem Set 1 - Mario Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Problem Set 1 - Hello Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Practice Problem 1 - Half Solution (Step by Step Guide for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Mario More Comfortable Problem Set 1 (pset1) Walkthrough (Step by Step) РѕС‚ : Best Code Tutor Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Mario Problem Set 1 (pset1) Walkthrough (Step by Step) РѕС‚ : Best Code Tutor Download Full Episodes | The Most Watched videos of all time |
![]() |
Watch This BEFORE doing Problem Set 1 - Mario (Harvard CS50 Week 1 Practice Problem Debug Solution) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
![]() |
CS50 Lab 1 - Populations Walkthrough (Step by Step Walkthrough for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |