Skip to content
    zhaoren

    James Chang

    @zhaoren
    GitHub
    zhaoren
    zhaoren
    published a Repl
    2 years ago
    1
    20220510 Ruby homework
    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.
    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang