Главная

CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)




Video quality The size Download

Информация о CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)


Название :  CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)
Продолжительность :   15.00
Дата публикации :  
Просмотров :   69 rb


Кадры CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)





Описание CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)



Коментарии CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners)



Music Books
I love this explanation This is clear and concise
Comment from : Music Books


Yoma Hosam Khadam
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


Relyt
THANK YOU!
Comment from : Relyt


Luke Cullison
please do a walkthrough for the credit problem
Comment from : Luke Cullison


Troy Hackney
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


YuliAShares
thank you so much
Comment from : YuliAShares


Samuel Tirado
gracias por tu video amorbrme salvaste mucho tiempo
Comment from : Samuel Tirado


Elinam Dora Ashley
Good thank you very much😊
Comment from : Elinam Dora Ashley


Eze Onyemaechi
thank you very much sir
Comment from : Eze Onyemaechi


jarvis_kjellberg
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 : نواف الدوسري


Thebass
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


k
I am concerned that 64k of lads were searching for the solution
Comment from : k


berk
W video
Comment from : berk


Dylan Buglewicz
You are a scholar and a saint
Comment from : Dylan Buglewicz


Jake Kayden
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


Ruchira Joshi
Following this but getting errorbrError resolved hurray
Comment from : Ruchira Joshi


Liam
Please keep sharing these problem solutions 🙏🙏🙏❤️❤️❣️
Comment from : Liam


“Mia” S
I got recommended this when my period is a day (probs more) late 💀
Comment from : “Mia” S


King David
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


Shambhvi Lokre
THANKYOU SO MUCH
Comment from : Shambhvi Lokre


TechMax
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


Hassan Yousafi
please please please make video on credit pset1 as well please soon please
Comment from : Hassan Yousafi


Kubat Aiupov
Thanks man I solved it , before I wacthed this video and your explanations are awesome!
Comment from : Kubat Aiupov


EPIC
you are the best man, keep us going
Comment from : EPIC


Icarus
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


Diana Zaguralska
Thank you!!
Comment from : Diana Zaguralska


Dustin Lee
Always detailed in why you are doing what you are doing Coming from a beginner, thank you for the clarification
Comment from : Dustin Lee


Alexander
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


Ravenheart
okaybrthere you gobr1 subscriber for youbrthe material is absolutely beyond wordbrkeep doing this great contentbrthank you
Comment from : Ravenheart


julio César
Why "return quarters" at the end of the "calculate quarters" function? Can someone please respond? Thanks!
Comment from : julio César


Grtishere
tysm
Comment from : Grtishere


dan2017gs
If we werent forced to use their functions itd be easier
Comment from : dan2017gs


Omar Alzaidi
thank you bro from my heart
Comment from : Omar Alzaidi


INSIDE ANDY
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


Malu Lopes
Thanks so much for always going through these like my brain is the size of a raisin 😂😍
Comment from : Malu Lopes


Kyland719
Thanks bro, this really helped clear up what exactly the functions are doing
Comment from : Kyland719


Peppy Sarthak
my output comes to 0 after writing /cash pls tell tried many times and code is also right
Comment from : Peppy Sarthak


Beatriz Sobczynski
Hey Rahul, you are the best! Thank you very much
Comment from : Beatriz Sobczynski


Ken Takahashi
You are a wizard! Thanks for the help!
Comment from : Ken Takahashi


Roelof Willems
You are a rockstar!
Comment from : Roelof Willems


El-Sayed El-Senosy
thx bro brthe definition of the real teacher should be u!!!
Comment from : El-Sayed El-Senosy


kevin_harambe
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


V
Thanks for great explanation of the task I'm able to do code myself, but can`t catch task idea
Comment from : V


Reinaldo
tks man
Comment from : Reinaldo


eq104ee rly
you are the best
Comment from : eq104ee rly


Kristania Gunawan
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


Aaron
Thank you so much Completely new to all of this and you just explain things so well!
Comment from : Aaron


Unlimited Hoops
Everytime i type /cash “0” pops up
Comment from : Unlimited Hoops


Zixin Zhang
Very well explained! br😇
Comment from : Zixin Zhang


Luiz Aquino
Thank you my brother
Comment from : Luiz Aquino


The Nathanimal
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


CJ Banks
You are a saint
Comment from : CJ Banks


Alex
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


gianmarco imperioli
bro if youve never taken CS before this is literally impossible to figure out alone lol
Comment from : gianmarco imperioli


Nicholas James Winfrey
This video was great You should really make more of them
Comment from : Nicholas James Winfrey


Jacob De La Torre
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


Leandro Quaroni
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


Quirk
hey rahul, by any chance do you have any social media?
Comment from : Quirk


Ca Wai
Thank God you exist!
Comment from : Ca Wai


Diogo Duarte
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


Mr Woodz64
thank you so much man really!! from the whole community
Comment from : Mr Woodz64


ActionReplay
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 : Николай Фисенко


Power Clean
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


Finding Elsie
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


hen ken
sorry, how can i open cs50 problem set,i just see "when t do it "
Comment from : hen ken


FR Health&Fitness
Thank you so much! You are helping so many people here!
Comment from : FR Health&Fitness


toshinova
mans is amazing
Comment from : toshinova


Samson Amanuel
Thanks a lot dude I actually figured it out just by watching the first 2 minuets of the video : ))
Comment from : Samson Amanuel


adrenaline omertà
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à


Sief Khaled
keep bro ♥♥♥♥♥♥♥♥♥♥♥♥♥♥
Comment from : Sief Khaled


ROHIT KUMAR
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


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 : الطيب عثمان


Hefferdoodles
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


muhib op
If you could plz make a video how to submit starting from scratch bcz submission iz a big deal
Comment from : muhib op


s jxy
Works well!! DANKEEE
Comment from : s jxy


Rajat Sharma
thank you bro op
Comment from : Rajat Sharma


Aleksa Zlatkovic
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


Lex
Thanks
Comment from : Lex


TheInfiniteSense
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


Ago
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


Curry Price
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


Abdalla Alhaedre
thanks man you really made it so easy
Comment from : Abdalla Alhaedre


Rudy Hernandez
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


Cristiana Vaculovschi
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 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners) видео

CS50 Cash Solution 2023. Beginners Guide for completing CS50 Week 1 Problem set 1 - Cash. 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. 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 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 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 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 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) 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) 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) 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 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