C++ Online Compiler & Playground
HTML/CSS/JavaScript
HTML
CSS
Javascript
C++
C
PHP
Java
Python
Swift
C#
Ruby
Node.JS
Kotlin
jQuery
Go
R
TypeScript
Start C++ Course
Register
xxx
+1
Author: dan peled
Dark
Public
Save
CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
#include
<
iostream
>
using
namespace
std
;
int
main
()
{
int
x
;
cin
>>
x
;
if
(
x
,
"x"
){
cout
<<
"x"
;
}
return
0
;
}
Enter to Rename, Shift+Enter to Preview
OUTPUT