<aside>
Getting started with FlowUs AI!
Invite members to join the space
</aside>
On any pages, you can create a code block to display code so that it's broken out from the rest of your content and formatted by language.
Creation method:
+
" button or type "/
" to invoke the quick command menu, then choose the code snippet option to create a code snippet block;"/code"
and press Enter to create a code snippet block.You also can quickly create code snippets using Markdown syntax:
+space or
+enter at the beginning of a line to quickly create a code snippet
space` at the beginning of a line to create a code snippet in a specified language
We support syntax highlighting for a number of programming languages. To change the display language of your code:
enter
to select.#include <iostream.h>
using namespace std;
int main()
{
int x,y;
cin>>x;
if(x<0)
y=-x;
else if(y>0)
y=x;
cout<<y;
}