You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
miguel 195c0d3302 docs(plain-sum): fixing the usage part 1 year ago
..
README.md docs(plain-sum): fixing the usage part 1 year ago

README.md

Plain Sum

Instructions

Create a function named plainSum, which accepts 3 int parameters, and returns their sum.

Functions in Dart are declared like this:

bool isEven(int num) {
  return num % 2;
}

Usage

Here is a possible program to test your function :

void main() {
  var result = plainSum(1, 2, 3);
  print(result);
}

And its output :

$ dart test.dart
6
$