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