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