about | help | code help+videos | done | prefs |
Write a method that returns the difference between the squares of two numbers, 'a' and 'b'. Look at the test data for examples. There are several ways to approach this problem. You ARE allowed to use methods from the Math class, but it is not required. jan30_2020_APP1SLHL_diffOfSquares(3, 5) → 16 jan30_2020_APP1SLHL_diffOfSquares(100, 101) → 201 jan30_2020_APP1SLHL_diffOfSquares(80, 1) → 6399 ...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: 290
Copyright Nick Parlante 2017 - privacy