about | help | code help+videos | done | prefs |
negate
Given a number, return its negative. negate(2) → -2 negate(0) → 0 negate(-3) → 3 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy