GOCO IDE
  • Home
  • Docs
Download

Documentation

Chapter 1: BasicsChapter 2: Variables & TypesChapter 3: Input and OutputChapter 4: Math and OperatorsChapter 5: Making DecisionsChapter 6: Repeating Parts (Loops)Chapter 7: FunctionsChapter 8: Arrays (Lists)Chapter 9: Standard Libraries

4. Doing Math and Comparing Things

4.1 Math Rules

You can do all standard math using symbols. You can add, subtract, multiply, and divide numbers.

Displaynl(10 + 3). // addition
Displaynl(10 - 3). // subtraction
Displaynl(10 * 3). // multiplication
Displaynl(10 / 3). // division
Displaynl(10 % 3). // remainder

4.2 Changing Numbers Quickly

You can increase or decrease your numbers fast by using ++ to add 1 and -- to take away 1.

Number apples = 5.
apples++.
Displaynl(apples).
// You can also use quick math signs.
apples += 4.
Displaynl(apples).

4.3 Comparing Or Checking Things

You can check if two things are the same or which one is bigger. This will always give you a True or False answer.

Number x = 5.
Number y = 10.
Displaynl(x == y).
Displaynl(x != y).
Displaynl(x < y).
Displaynl(True And False).

4.4 Joining Words Together

The addition sign '+' can also stick words or sentences together like glue.

Sentence first = "Hello".
Sentence second = "World".
Displaynl(first + " " + second + "!").
Displaynl("My age is: " + 12).

Contact Us

+91 93269 63378kancorp.inc@outlook.com
📍KanCorp Inc, India

Quick Links

  • Home
  • Docs
  • Download IDE

Stay Updated

Subscribe to get updates on new features and learning resources!

© 2026GOCO IDE™. All rights reserved. Made with ❤️