Skip to content

Instantly share code, notes, and snippets.

@NonymousMorlock
Created April 24, 2024 20:10
Show Gist options
  • Save NonymousMorlock/39308b673e8f6635811a920bb97f46fa to your computer and use it in GitHub Desktop.
Save NonymousMorlock/39308b673e8f6635811a920bb97f46fa to your computer and use it in GitHub Desktop.
void main() {
// number 1
// number 2
// sum
// The type of the data
// video
// image
// app
// character
// identifier
// 3454
// value
// 5
// type id value
// PRIMITIVE TYPES
// integer -- int -- 1 - infinity -- any whole numbers
// double -- double -- 0.5 -1.5 -- any decimals numbers
// string -- String -- a chain of characters --- any characters you can think of
// boolean -- bool -- TRUE OR FALSE
// integer
int x = 5;
// double
double y = -2.7;
// string
String birthdayMessageForMyLover = "Happy Birthday my love";
// boolean
bool iAmCrazy = false;
print(x + y);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment