Skip to content

Instantly share code, notes, and snippets.

@martinakraus
Created May 13, 2020 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinakraus/e689903af536a7e04b809ebd51484065 to your computer and use it in GitHub Desktop.
Save martinakraus/e689903af536a7e04b809ebd51484065 to your computer and use it in GitHub Desktop.
let ersterZahl = 4;
let zweiteZahl = 23;
function addieren(erste, zweite) {
return erste + zweite;
}
function subtrahieren(erste, zweite) {
return erste - zweite;
}
function multiplikation(erste, zweite) {
return erste * zweite;
}
function division(erste, zweite) {
return erste / zweite;
}
console.log(addieren(1, 2));
console.log(addieren(11, 23));
console.log(multiplikation(11, 11));
console.log(division(10, 0));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment