Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
Python
JavaScript
Java
C++
a = 2 b = 3 print(a + b) #Python
const a = 2; const b = 3; console.log(a + b); //JavaScript
public class Main { public static void main(String[] args) { int a = 2; int b = 3; System.out.println(a + b); } } //Java
#include
#include
using namespace std; int main() { int a = 2; int b = 3; cout << a + b; return 0; } //C++
Python result:
JavaScript result:
Java result:
CPP result:
5
5
5
5