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