Skip to content

Instantly share code, notes, and snippets.

@4RSIM3R
Created October 2, 2023 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4RSIM3R/e27cf3d51d3dbbd718858e25e25d5737 to your computer and use it in GitHub Desktop.
Save 4RSIM3R/e27cf3d51d3dbbd718858e25e25d5737 to your computer and use it in GitHub Desktop.
mahasiswa_berpestasi.dart
void main() {
// Tugas 1
print("Hello world");
// Tugas 2
String name = 'joko anton jodo';
print(name);
// Tugas 3
String firstName = 'joko';
final lastName = 'anton jodi';
print(firstName);
print(lastName);
// Tugas 4
var array1 = [1, 2, 3];
var array2 = [4, 5, 6];
array1[0] = 100;
array2[0] = 100;
print(array1);
print(array2);
int number1 = 100;
double number2 = 100.5;
print(number1);
print(number2);
var text = 'ini \'OPTIMAL\' \$ sekali';
print(text);
var kalimatPanjang = '''
ini
saya
punya
proyek banyak
''';
print(kalimatPanjang);
}
@4RSIM3R
Copy link
Author

4RSIM3R commented Oct 2, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment