AlgoVerse Pro

0/28
0

💡 How to Solve This Problem

🎯 Approach:

Add two numbers together

📝 Available Data:

a = 5b = 7

📋 Steps to Follow:

  1. 1.Get the two input numbers (a and b)
  2. 2.Add them together: a + b
  3. 3.Return or store the result

✅ Expected Output:

12

💡 Pro Tips:

  • • You can write code in multiple ways - choose what feels comfortable
  • • Test your logic step by step
  • • Use console.log() to debug if needed
  • • Focus on getting the correct output first, then optimize
#101EASYProblem 1 of 28

Sum of Two Numbers

Return the sum of two numbers.

Sample Input:

[
  5,
  7
]

Expected Output:

12

Code Editor

Output & Test Results

Ready to Run

Click Run Code to execute your solution