Skip to content

Instantly share code, notes, and snippets.

@vasfvitor
Last active December 15, 2023 01:05
Show Gist options
  • Select an option

  • Save vasfvitor/1f995c47ee82ae652496622db1e678ea to your computer and use it in GitHub Desktop.

Select an option

Save vasfvitor/1f995c47ee82ae652496622db1e678ea to your computer and use it in GitHub Desktop.
This is the Gist Title/Description
if (lorem === ipsum) {
dolor += sit;
amet++;
} else {
dolor += consectetur;
}

Only md content, no syntax highlight

fn main() {
// addition
let sum = 5 + 10;
// subtraction
let difference = 95.5 - 4.3;
// multiplication
let product = 4 * 30;
// division
let quotient = 56.7 / 32.2;
let truncated = -5 / 3; // Results in -1
// remainder
let remainder = 43 % 5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment