Skip to content
Sign UpLog In

20220510 Ruby homework

zhaoren
zhaoren
Made with
Ruby
Ruby
Published on May 11, 2022
  1. 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...
  1. ⚠️ 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.
Loading comments...