created by sudosuanjal
|| github repo
Covers: Variables, Mutability, Data Types, Strings, Functions, Control Flow
Write a program that converts temperature from Celsius to Fahrenheit and vice versa.
let
, mut
, and basic arithmetic.Create a CLI app that takes an integer and checks whether it's even or odd.
if
, else
) and mod
.Build a command-line calculator that supports +
, -
, *
, /
.
match
for control flow, functions for each operation.Accept a string and print its reverse.
chars().rev()
iterator.