Sum of Two Variables Problem
Sum of Two Variables Problem — ExecCode School DSA Practice
Solve the Sum of Two Variables problem on ExecCode. Free online school DSA practice in Variables & Output. Write and run code in Java, C++, Python — no signup required to run.
Problem description
You are given the input needed to solve Sum of Two Variables. Your task is to store 10 in one variable and 20 in another. Add the two variables and print the sum. You do not need to read any input.
Examples
Input ; Output 30. Input ; Output 30
Constraints
None.
Practice Sum of Two Variables free on ExecCode. Browse DSA problems, topic map, and placement guides.