James Chang
@zhaoren
Public Repls
Community
1
20220510 Ruby homework1) Write code to reproduce the behavior of the .capitalize String method without using it.
Hint: You can still use .upcase (otherwise it’s much trickier)
I tries to do this but, all I could think was to capitalize everything...
2) :warning: ADVANCED (for the hungry ones only) Build a simple calculator that lets the user input two numbers and an operator, and gives the result.
I ran into problems until I saw Olga's IF and ELSIF commands.
0
1