LaunchCode-Education-Archived / cs50x-live

The generic template version of Launchcode's CS50x curriculum. Fork this to create a repo for a particular city.
Creative Commons Zero v1.0 Universal
2 stars 5 forks source link

exercise: CLC #173

Closed stlou closed 8 years ago

stlou commented 8 years ago

in command line calc: http://education.launchcode.org/cs50x-stlouis/calendar/cs50/unit1-fundamentals/module2/materials/exercises/command-line-calculator/

In the example of how the code should look, you have the user input two floats, and have the successful sum. People are going to have to use "atof" instead of "atoi" (i think), but we haven't told them about that function. They could look it up, but I think that's asking too much. Should probably just give it to them.

jesseilev commented 8 years ago

@stlou Looking at this again, this exercise seems pointless because of how similar it is to Previous. The only differences are trivial:

Do you think we should just combine them into one?

jesseilev commented 8 years ago

I guess they're also different in that Previous is already mostly given to them, whereas this one they have to make the whole thing from scratch.

So let's keep them both

jesseilev commented 8 years ago

I added an explanation of atof