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

preview_player
Показать описание
CS50 Problem Set 1 (PSet1) Cash Walkthrough / Solution (Step by Step for Beginners) - Problem Set 1 proves to be pretty simple, even for those who have not programmed before. This is a step by step walkthrough that helps students understand the logic behind Problem Set 1. It does not involve any complicated concepts, and simply applies everything in CS50 Lecture 1. This is CS50 Made Easy. #CS50 #PSet1 #Cash

Рекомендации по теме
Комментарии
Автор

Yo man! This is so good, I was struggling so much to understand what was needed, and I didnt want to just submit without understanding, but your explanation was perfect, and I was able to follow along without any confusion and feel like Im starting to grasp the course now. I'll be tuning in the rest of the way! Thanks for this :)

shapedurango
Автор

I want to thank you for doing these walkthroughs. You are truly a great teacher and help to make the solutions to these problems very clear. I hope that you will continue to do these for all of the remaining problem sets. It is of great value.

jakespringer
Автор

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!

akottens
Автор

I felt so dumb before I found these videos. Going from scratch straight into this with no prior experience was wild. Watching and writing beside these videos made me understand exactly what was needed. Thank you!!!!

the_gaynadian
Автор

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

diogoduarte
Автор

I’m being a bit greedy but your explanations are very easy to follow! Could you do a walkthrough of credit? I found some other explanations on YT but they were quite confusing. :)

artur.
Автор

you are god send. i was so lost but after watching your video on mario i was able to finally submit my assignment. i am glad you do the walk through.

samanthapadilla
Автор

I was literally on the verge of tears before these videos, thank you!!!

issymunter
Автор

Thank you for explaining! I don't think I could've figured it out on my own. Keep up the good work!

wakulovszki
Автор

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 need.

It should look like this:

int calculate_quarters(int cents)
{
return cents / 25;
}

TheLeanoni
Автор

Thank you so much!!! You are so good at explaining these topics and breaking them down in a very logical and efficient manner!!! Liked and subbed. Looking forward to your next video!! Bye David!!! ;)

stiguybob
Автор

Thank you so much! You are helping so many people here!

frhealthfitness
Автор

You are a wizard! Thanks for the help!

KenTakahashiYT
Автор

I love how you go through and explain things, I mostly do these by myself but it's nice to be able to check that I'm on the right track

bluezebra
Автор

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.

hefferdoodles
Автор

thank you for walking me down the logic and code, i got overwhelmed and had to look for help!

TalkThisOut
Автор

This was incredibly helpful, I was having such a tough time with this problem set. Thank you so much!

courtneyc.
Автор

okay
there you go
1 subscriber for you
the material is absolutely beyond word
keep doing this great content
thank you

ravenheart
Автор

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!

jarvis_kjellberg
Автор

Thank you for making the 2022 update! Great walkthrough

jacobreed